Thread (17 messages) flat view 17 messages, 6 authors, 2011-12-09
STALE5400d REVIEWED: 1 (0M)

Revision resend of 2 in this series; 1 review trailer.

Revisions (2)
  1. resend current
  2. v2 [diff vs current]

[PATCH 5/5 resend] Documentation: Correct s_umount state for freeze_fs/unfreeze_fs

From: Kamal Mostafa <hidden>
Date: 2011-12-05 20:54:49
Also in: linux-fsdevel, lkml
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

From: Valerie Aurora <redacted>

freeze_fs/unfreeze_fs ops are called with s_umount held for write, not read.

BugLink: https://bugs.launchpad.net/bugs/897421
Signed-off-by: Valerie Aurora <redacted>
Cc: Kamal Mostafa <redacted>
Tested-by: Peter M. Petrakis <redacted>
Signed-off-by: Kamal Mostafa <redacted>
---
 Documentation/filesystems/Locking |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking
index d819ba1..7e46a94 100644
--- a/Documentation/filesystems/Locking
+++ b/Documentation/filesystems/Locking
@@ -134,8 +134,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
-- 
1.7.5.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help