[Ocfs2-commits] manish commits r2274 - trunk/fs/ocfs2
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed May 18 00:04:12 CDT 2005
Author: manish
Signed-off-by: mfasheh
Date: 2005-05-18 00:04:11 -0500 (Wed, 18 May 2005)
New Revision: 2274
Modified:
trunk/fs/ocfs2/mmap.c
Log:
Remove screwed up workaround for broken applications
Signed-off-by: mfasheh
Modified: trunk/fs/ocfs2/mmap.c
===================================================================
--- trunk/fs/ocfs2/mmap.c 2005-05-18 04:06:51 UTC (rev 2273)
+++ trunk/fs/ocfs2/mmap.c 2005-05-18 05:04:11 UTC (rev 2274)
@@ -512,12 +512,6 @@
if (filp->f_flags & O_APPEND) {
saved_ppos = i_size_read(inode);
mlog(0, "O_APPEND: inode->i_size=%llu\n", saved_ppos);
-
- /* ugh, work around some applications which open
- * everything O_DIRECT + O_APPEND and really don't
- * mean to use O_DIRECT. */
-#warning this is wrong wrong wrong
- filp->f_flags &= ~O_DIRECT;
}
if (filp->f_flags & O_DIRECT) {
More information about the Ocfs2-commits
mailing list