Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210388
b: refs/heads/master
c: 81c8c82
h: refs/heads/master
v: v3
  • Loading branch information
Tristan Ye authored and Tao Ma committed Sep 8, 2010
1 parent 66a1090 commit e2c5ad2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b4c0ff32ccd87ab52d4c5bd0a0536febce11370
refs/heads/master: 81c8c82b5a39f9127e8b239e9b406a6c3a41b228
2 changes: 1 addition & 1 deletion trunk/fs/ocfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -2338,7 +2338,7 @@ static ssize_t ocfs2_file_aio_write(struct kiocb *iocb,
BUG_ON(ret == -EIOCBQUEUED && !(file->f_flags & O_DIRECT));

if (((file->f_flags & O_DSYNC) && !direct_io) || IS_SYNC(inode) ||
((file->f_flags & O_DIRECT) && has_refcount)) {
((file->f_flags & O_DIRECT) && !direct_io)) {
ret = filemap_fdatawrite_range(file->f_mapping, pos,
pos + count - 1);
if (ret < 0)
Expand Down

0 comments on commit e2c5ad2

Please sign in to comment.