Re: [PATCH] don't allow sys_readahead() on files opened with O_DIRECT

From: Christoph Hellwig
Date: Mon Jun 06 2005 - 06:44:52 EST


your check is wrong, it's testing whether the filesystem supports O_DIRECT, not
whether sys_readahead is used on a file descriptor that has been opened with O_DIRECT
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/