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/coda/inode.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/coda/inode.c')
| -rw-r--r-- | fs/coda/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/coda/inode.c b/fs/coda/inode.c index 6896fce122e1..08450d006016 100644 --- a/fs/coda/inode.c +++ b/fs/coda/inode.c @@ -230,7 +230,7 @@ static int coda_fill_super(struct super_block *sb, struct fs_context *fc) sb->s_blocksize_bits = 12; sb->s_magic = CODA_SUPER_MAGIC; sb->s_op = &coda_super_operations; - sb->s_d_op = &coda_dentry_operations; + set_default_d_op(sb, &coda_dentry_operations); sb->s_time_gran = 1; sb->s_time_min = S64_MIN; sb->s_time_max = S64_MAX; |
