From: David Sterba Date: Fri, 28 Mar 2014 16:38:48 +0000 (+0100) Subject: btrfs: do commit in sync_fs if there are pending changes X-Git-Tag: omap-for-v3.19/fixes-rc1~111^2~16^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b5fe46dfa52441f49c7432b1c1b1cb767834708;p=pandora-kernel.git btrfs: do commit in sync_fs if there are pending changes If a pending change is requested, it's not processed unless there is a transaction commit about to happen, not even after sync or SYNC_FS ioctl. For example a remount that toggles the inode_cache option will not take effect after sync on a quiescent filesystem. Signed-off-by: David Sterba --- Reading git-diff-tree failed