aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorAndrew Ruder <[email protected]>2014-01-30 15:26:54 +0000
committerAl Viro <[email protected]>2014-01-31 19:29:36 +0000
commit807612db2f9940b9fa6deaef054eb16d51bd3e00 (patch)
treef22bc5b0debad1f1833c8d349e0dbd1b3fecd607 /drivers/net/xen-netback/interface.c
parentvfs: unexport the getname() symbol (diff)
downloadkernel-807612db2f9940b9fa6deaef054eb16d51bd3e00.tar.gz
kernel-807612db2f9940b9fa6deaef054eb16d51bd3e00.zip
fs/super.c: sync ro remount after blocking writers
Move sync_filesystem() after sb_prepare_remount_readonly(). If writers sneak in anywhere from sync_filesystem() to sb_prepare_remount_readonly() it can cause inodes to be dirtied and writeback to occur well after sys_mount() has completely successfully. This was spotted by corrupted ubifs filesystems on reboot, but appears that it can cause issues with any filesystem using writeback. Cc: Artem Bityutskiy <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Alexander Viro <[email protected]> CC: Richard Weinberger <[email protected]> Co-authored-by: Richard Weinberger <[email protected]> Signed-off-by: Andrew Ruder <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions