summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-05-05 15:41:25 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2009-06-12 03:36:06 +0200
commit5af7926ff33b68b3ba46531471c6e0564b285efc (patch)
treea25266f9db482ce9dd8e663148ffb0f1a524bd83 /arch/sh
parentcleanup sync_supers (diff)
downloadlinux-5af7926ff33b68b3ba46531471c6e0564b285efc.tar.xz
linux-5af7926ff33b68b3ba46531471c6e0564b285efc.zip
enforce ->sync_fs is only called for rw superblock
Make sure a superblock really is writeable by checking MS_RDONLY under s_umount. sync_filesystems needed some re-arragement for that, but all but one sync_filesystem caller had the correct locking already so that we could add that check there. cachefiles grew s_umount locking. I've also added a WARN_ON to sync_filesystem to assert this for future callers. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions