]> www.infradead.org Git - users/hch/block.git/commit
bcachefs: drop unused posix acl handlers
authorYouling Tang <tangyouling@kylinos.cn>
Thu, 15 Aug 2024 08:57:43 +0000 (16:57 +0800)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 9 Sep 2024 13:41:49 +0000 (09:41 -0400)
commitd3f30f16294cc8e58ef14f934874ed7b3ec15b71
tree377f0fccea4a2d4908cfe663aa589ebaa37c6b85
parent5935bf3341b82bc76f1d816842273c06615aa727
bcachefs: drop unused posix acl handlers

Remove struct nop_posix_acl_{access,default} for bcachefs filesystem
that don't depend on the xattr handler in their inode->i_op->listxattr()
method in any way. There's nothing more to do than to simply remove the
handler. It's been effectively unused ever since we introduced the new
posix acl api. See [1] for details.

Link [1]: https://patchwork.kernel.org/project/linux-fsdevel/cover/20230125-fs-acl-remove-generic-xattr-handlers-v3-0-f760cc58967d@kernel.org/

Signed-off-by: Youling Tang <tangyouling@kylinos.cn>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/xattr.c