ubifs: Remove ineffective function ubifs_evict_xattr_inode()
authorZhihao Cheng <chengzhihao1@huawei.com>
Fri, 12 Jul 2024 06:36:25 +0000 (14:36 +0800)
committerRichard Weinberger <richard@nod.at>
Thu, 14 Nov 2024 16:33:11 +0000 (17:33 +0100)
commit3c50701fd37ffc265d28e7cb4db2ff0cd33241d7
tree09dbe5fb2c0468104c0aa393fff6e522d3d84d0a
parent957e1c4e1779bffda4aac7a28efa68012a6d4b53
ubifs: Remove ineffective function ubifs_evict_xattr_inode()

Function ubifs_evict_xattr_inode() is imported by commit 272eda8298dc
("ubifs: Correctly evict xattr inodes") to reclaim xattr inode when
the host inode is deleted.
The xattr inode is evicted in the host inode deleting process since
commit 7959cf3a7506 ("ubifs: journal: Handle xattrs like files").
So the ineffective function ubifs_evict_xattr_inode() can be deleted
safely.

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/tnc.c
fs/ubifs/ubifs.h
fs/ubifs/xattr.c