Explorar o código

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>
Valerie Aurora %!s(int64=13) %!d(string=hai) anos
pai
achega
06fd516c1a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Documentation/filesystems/Locking

+ 2 - 2
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