diff options
| author | Al Viro <[email protected]> | 2024-12-10 01:10:42 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2025-01-28 00:24:43 +0000 |
| commit | 7e3270165a8704ffb3948ef78f139aefc033135a (patch) | |
| tree | 8b362fdcd6714b2881d6968b5aa738c651e90d22 /fs/ext4/fast_commit.h | |
| parent | dissolve external_name.u into separate members (diff) | |
| download | kernel-7e3270165a8704ffb3948ef78f139aefc033135a.tar.gz kernel-7e3270165a8704ffb3948ef78f139aefc033135a.zip | |
ext4 fast_commit: make use of name_snapshot primitives
... rather than open-coding them. As a bonus, that avoids the pointless
work with extra allocations, etc. for long names.
Reviewed-by: Jeff Layton <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.h')
| -rw-r--r-- | fs/ext4/fast_commit.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/fast_commit.h b/fs/ext4/fast_commit.h index 2fadb2c4780c..3bd534e4dbbf 100644 --- a/fs/ext4/fast_commit.h +++ b/fs/ext4/fast_commit.h @@ -109,8 +109,7 @@ struct ext4_fc_dentry_update { int fcd_op; /* Type of update create / unlink / link */ int fcd_parent; /* Parent inode number */ int fcd_ino; /* Inode number */ - struct qstr fcd_name; /* Dirent name */ - unsigned char fcd_iname[DNAME_INLINE_LEN]; /* Dirent name string */ + struct name_snapshot fcd_name; /* Dirent name */ struct list_head fcd_list; struct list_head fcd_dilist; }; |
