mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-15 22:41:38 +00:00
new helper: set_default_d_op()
... to be used instead of manually assigning to ->s_d_op. All in-tree filesystem converted (and field itself is renamed, so any out-of-tree ones in need of conversion will be caught by compiler). Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -273,7 +273,7 @@ static int debugfs_fill_super(struct super_block *sb, struct fs_context *fc)
|
||||
return err;
|
||||
|
||||
sb->s_op = &debugfs_super_operations;
|
||||
sb->s_d_op = &debugfs_dops;
|
||||
set_default_d_op(sb, &debugfs_dops);
|
||||
|
||||
debugfs_apply_options(sb);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user