]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: use attribute define helper for sysfs attribute
authorHongbo Li <lihongbo22@huawei.com>
Tue, 29 Oct 2024 12:54:08 +0000 (20:54 +0800)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:16 +0000 (01:36 -0500)
commit32e573c362db3d15b8046d10cd194c314adf7b82
treebf898e57584ff58486cc761732d2c38ebd047228
parentd3d8ec90babcaf8b925cd63c668573abb423e715
bcachefs: use attribute define helper for sysfs attribute

The sysfs attribute definition has been wrapped into macro:
rw_attribute, read_attribute and write_attribute, we can
use these helpers to uniform the attribute definition.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/sysfs.c