]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Device options now use standard sysfs code
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 11 Mar 2025 22:44:25 +0000 (18:44 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 24 Mar 2025 13:50:35 +0000 (09:50 -0400)
commit8b294a9b5c14473d6d7e35756d201922ba785042
tree4ccadb521e475ca67deef9275936b5509892b72e
parentd2bad59255dcc1959c8f931fcf85775c53e06d9a
bcachefs: Device options now use standard sysfs code

Device options now use the common code for sysfs, and can superblock
fields (in a struct bch_member).

This replaces BCH_DEV_OPT_SETTERS(), which was weird and easy to miss.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/opts.c
fs/bcachefs/opts.h
fs/bcachefs/super.c
fs/bcachefs/sysfs.c
fs/bcachefs/sysfs.h
fs/bcachefs/xattr.c