diff options
author | Ritesh Harjani <riteshh@linux.ibm.com> | 2021-06-03 07:33:02 +0530 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-06-24 10:09:39 -0400 |
commit | 310c097c2bdbea253d6ee4e064f3e65580ef93ac (patch) | |
tree | 819e5684ee215fe365475febcac66b1ac8ea24da /fs/ext4/xattr.h | |
parent | ee00d6b3c7aa65f97ace382ddf59739e65f5e8dd (diff) | |
download | linux-stable-310c097c2bdbea253d6ee4e064f3e65580ef93ac.tar.gz linux-stable-310c097c2bdbea253d6ee4e064f3e65580ef93ac.tar.bz2 linux-stable-310c097c2bdbea253d6ee4e064f3e65580ef93ac.zip |
ext4: remove duplicate definition of ext4_xattr_ibody_inline_set()
ext4_xattr_ibody_inline_set() & ext4_xattr_ibody_set() have the exact
same definition. Hence remove ext4_xattr_ibody_inline_set() and all
its call references. Convert the callers of it to call
ext4_xattr_ibody_set() instead.
[ Modified to preserve ext4_xattr_ibody_set() and remove
ext4_xattr_ibody_inline_set() instead. -- TYT ]
Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/fd566b799bbbbe9b668eb5eecde5b5e319e3694f.1622685482.git.riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/xattr.h')
-rw-r--r-- | fs/ext4/xattr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/xattr.h b/fs/ext4/xattr.h index 730b91fa0dd7..77efb9a627ad 100644 --- a/fs/ext4/xattr.h +++ b/fs/ext4/xattr.h @@ -186,9 +186,9 @@ extern int ext4_xattr_ibody_find(struct inode *inode, struct ext4_xattr_info *i, extern int ext4_xattr_ibody_get(struct inode *inode, int name_index, const char *name, void *buffer, size_t buffer_size); -extern int ext4_xattr_ibody_inline_set(handle_t *handle, struct inode *inode, - struct ext4_xattr_info *i, - struct ext4_xattr_ibody_find *is); +extern int ext4_xattr_ibody_set(handle_t *handle, struct inode *inode, + struct ext4_xattr_info *i, + struct ext4_xattr_ibody_find *is); extern struct mb_cache *ext4_xattr_create_cache(void); extern void ext4_xattr_destroy_cache(struct mb_cache *); |