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
Merge branch 'fix/hda' into for-linus
[firefly-linux-kernel-4.4.55.git]
/
fs
/
xfs
/
xfs_vnodeops.c
diff --git
a/fs/xfs/xfs_vnodeops.c
b/fs/xfs/xfs_vnodeops.c
index 37d8146ee15b2022edecce33ffc896ed84c55e59..c48b4217ec47f652b3769ce912969a46a2924101 100644
(file)
--- a/
fs/xfs/xfs_vnodeops.c
+++ b/
fs/xfs/xfs_vnodeops.c
@@
-2831,7
+2831,8
@@
xfs_change_file_space(
ip->i_d.di_flags &= ~XFS_DIFLAG_PREALLOC;
xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
- xfs_trans_set_sync(tp);
+ if (attr_flags & XFS_ATTR_SYNC)
+ xfs_trans_set_sync(tp);
error = xfs_trans_commit(tp, 0);