projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configfs_add_file: fold into its sole caller
[firefly-linux-kernel-4.4.55.git]
/
fs
/
libfs.c
diff --git
a/fs/libfs.c
b/fs/libfs.c
index 005843ce5dbd532d683b1c94e16f765b8585d236..b2ffdb045be42c1c5c476d9298aacd98045f47f3 100644
(file)
--- a/
fs/libfs.c
+++ b/
fs/libfs.c
@@
-948,7
+948,7
@@
int __generic_file_fsync(struct file *file, loff_t start, loff_t end,
mutex_lock(&inode->i_mutex);
ret = sync_mapping_buffers(inode->i_mapping);
mutex_lock(&inode->i_mutex);
ret = sync_mapping_buffers(inode->i_mapping);
- if (!(inode->i_state & I_DIRTY))
+ if (!(inode->i_state & I_DIRTY
_ALL
))
goto out;
if (datasync && !(inode->i_state & I_DIRTY_DATASYNC))
goto out;
goto out;
if (datasync && !(inode->i_state & I_DIRTY_DATASYNC))
goto out;