Documentation: Correct s_umount state for freeze_fs/unfreeze_fs
authorValerie Aurora <val@vaaconsulting.com>
Tue, 12 Jun 2012 14:20:48 +0000 (16:20 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 31 Jul 2012 05:45:55 +0000 (09:45 +0400)
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>
Documentation/filesystems/Locking

index e0cce2a5f820a6327f9ea1558717434c490e8aae..f566b477e81f17a934f2f605598b0377b4f6ca69 100644 (file)
@@ -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