diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_file.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_file.c b/fs/xfs/linux-2.6/xfs_file.c index eff61e2732af..e4caeb28ce2e 100644 --- a/fs/xfs/linux-2.6/xfs_file.c +++ b/fs/xfs/linux-2.6/xfs_file.c | |||
@@ -52,7 +52,7 @@ xfs_file_aio_read( | |||
52 | loff_t pos) | 52 | loff_t pos) |
53 | { | 53 | { |
54 | struct file *file = iocb->ki_filp; | 54 | struct file *file = iocb->ki_filp; |
55 | int ioflags = IO_ISAIO; | 55 | int ioflags = 0; |
56 | 56 | ||
57 | BUG_ON(iocb->ki_pos != pos); | 57 | BUG_ON(iocb->ki_pos != pos); |
58 | if (unlikely(file->f_flags & O_DIRECT)) | 58 | if (unlikely(file->f_flags & O_DIRECT)) |
@@ -71,7 +71,7 @@ xfs_file_aio_write( | |||
71 | loff_t pos) | 71 | loff_t pos) |
72 | { | 72 | { |
73 | struct file *file = iocb->ki_filp; | 73 | struct file *file = iocb->ki_filp; |
74 | int ioflags = IO_ISAIO; | 74 | int ioflags = 0; |
75 | 75 | ||
76 | BUG_ON(iocb->ki_pos != pos); | 76 | BUG_ON(iocb->ki_pos != pos); |
77 | if (unlikely(file->f_flags & O_DIRECT)) | 77 | if (unlikely(file->f_flags & O_DIRECT)) |