Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-8176 libcfs: Add file_dentry() & file_inode() wrapper
[fs/lustre-release.git]
/
lustre
/
llite
/
rw26.c
diff --git
a/lustre/llite/rw26.c
b/lustre/llite/rw26.c
index
d9482b2
..
1d1ebb3
100644
(file)
--- a/
lustre/llite/rw26.c
+++ b/
lustre/llite/rw26.c
@@
-788,7
+788,7
@@
static int ll_write_end(struct file *file, struct address_space *mapping,
unplug = true;
}
if (unplug ||
- file->f_flags & O_SYNC || IS_SYNC(file
->f_path.dentry->d_inode
))
+ file->f_flags & O_SYNC || IS_SYNC(file
_inode(file)
))
result = vvp_io_write_commit(env, io);
if (result < 0)