]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Implement fileattr_(get|set)
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 28 Mar 2025 16:26:24 +0000 (12:26 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 21 Apr 2025 23:50:56 +0000 (19:50 -0400)
commit7a4a86618eb7bceac17878e484a8f98da1395d68
tree5074d0cef0adda5c3961597617e3e2e75fa2e770
parent4ede80a9a860968f9e63c6b9262683d3139194e0
bcachefs: Implement fileattr_(get|set)

inode_operations.fileattr_(get|set) didn't exist when the various flag
ioctls where implemented - but they do now, which means we can delete a
bunch of ioctl code in favor of standard VFS level wrappers.

Closes: https://lore.kernel.org/linux-bcachefs/7ltgrgqgfummyrlvw7hnfhnu42rfiamoq3lpcvrjnlyytldmzp@yazbhusnztqn/
Cc: Petr Vorel <pvorel@suse.cz>
Cc: Andrea Cervesato <andrea.cervesato@suse.de>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-ioctl.c
fs/bcachefs/fs-ioctl.h
fs/bcachefs/fs.c
fs/bcachefs/util.h