summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValerie Aurora <val@vaaconsulting.com>2012-06-12 16:20:48 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-31 09:45:55 +0400
commit06fd516c1a504828780fcd81dfe21f94dec4c868 (patch)
treebc1dba71d3c38c8630af5c60de7ac00a8a6bac4d
parentd9c95bdd53a8d9116d269c91ce3d151472e6bcd6 (diff)
downloadlinux-06fd516c1a504828780fcd81dfe21f94dec4c868.tar.bz2
Documentation: Correct s_umount state for freeze_fs/unfreeze_fs
freeze_fs/unfreeze_fs ops are called with s_umount held for write, not read. Signed-off-by: Valerie Aurora <val@vaaconsulting.com> Signed-off-by: Kamal Mostafa <kamal@canonical.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--Documentation/filesystems/Locking4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking
index e0cce2a5f820..f566b477e81f 100644
--- a/Documentation/filesystems/Locking
+++ b/Documentation/filesystems/Locking
@@ -138,8 +138,8 @@ evict_inode:
put_super: write
write_super: read
sync_fs: read
-freeze_fs: read
-unfreeze_fs: read
+freeze_fs: write
+unfreeze_fs: write
statfs: maybe(read) (see below)
remount_fs: write
umount_begin: no