vfs: bury ->get_sb()
[linux-2.6-block.git] / Documentation / filesystems / Locking
index 4471a416c27457069d722160ff533dbccc1fbf3c..2e994efe12cbf25905921d5b1d2fbb7f8e3c177a 100644 (file)
@@ -166,13 +166,11 @@ prototypes:
        void (*kill_sb) (struct super_block *);
 locking rules:
                may block
-get_sb         yes
 mount          yes
 kill_sb                yes
 
-->get_sb() returns error or 0 with locked superblock attached to the vfsmount
-(exclusive on ->s_umount).
-->mount() returns ERR_PTR or the root dentry.
+->mount() returns ERR_PTR or the root dentry; its superblock should be locked
+on return.
 ->kill_sb() takes a write-locked superblock, does all shutdown work on it,
 unlocks and drops the reference.