diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-16 09:07:58 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-16 16:48:06 -0400 |
commit | 1a102ff92579edeff5e3d5d3c76ca49977898f00 (patch) | |
tree | 5585d724c8a996b770bb7a621563a7535a8c0496 /Documentation/filesystems/porting | |
parent | 011949811b946bd3b72fca71200f197c6168a5f8 (diff) |
vfs: bury ->get_sb()
This is an ex-parrot.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/filesystems/porting')
-rw-r--r-- | Documentation/filesystems/porting | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting index dfbcd1b00b0a..0c986c9e8519 100644 --- a/Documentation/filesystems/porting +++ b/Documentation/filesystems/porting | |||
@@ -394,3 +394,10 @@ file) you must return -EOPNOTSUPP if FALLOC_FL_PUNCH_HOLE is set in mode. | |||
394 | Currently you can only have FALLOC_FL_PUNCH_HOLE with FALLOC_FL_KEEP_SIZE set, | 394 | Currently you can only have FALLOC_FL_PUNCH_HOLE with FALLOC_FL_KEEP_SIZE set, |
395 | so the i_size should not change when hole punching, even when puching the end of | 395 | so the i_size should not change when hole punching, even when puching the end of |
396 | a file off. | 396 | a file off. |
397 | |||
398 | -- | ||
399 | [mandatory] | ||
400 | ->get_sb() is gone. Switch to use of ->mount(). Typically it's just | ||
401 | a matter of switching from calling get_sb_... to mount_... and changing the | ||
402 | function type. If you were doing it manually, just switch from setting ->mnt_root | ||
403 | to some pointer to returning that pointer. On errors return ERR_PTR(...). | ||