diff options
| author | Al Viro <[email protected]> | 2025-02-24 00:39:47 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2025-06-11 02:21:16 +0000 |
| commit | 05fb0e666495cda068c068a681ecbbf8e57324d0 (patch) | |
| tree | 1d7e3bde874c7710b24909b20e8042c57151ea92 /fs/overlayfs/super.c | |
| parent | fuse: no need for special dentry_operations for root dentry (diff) | |
| download | kernel-05fb0e666495cda068c068a681ecbbf8e57324d0.tar.gz kernel-05fb0e666495cda068c068a681ecbbf8e57324d0.zip | |
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 <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'fs/overlayfs/super.c')
| -rw-r--r-- | fs/overlayfs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c index e19940d649ca..efbf0b291551 100644 --- a/fs/overlayfs/super.c +++ b/fs/overlayfs/super.c @@ -1322,7 +1322,7 @@ int ovl_fill_super(struct super_block *sb, struct fs_context *fc) if (WARN_ON(fc->user_ns != current_user_ns())) goto out_err; - sb->s_d_op = &ovl_dentry_operations; + set_default_d_op(sb, &ovl_dentry_operations); err = -ENOMEM; if (!ofs->creator_cred) |
