]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext4: refactor out ext4_generic_attr_show()
authorBaokun Li <libaokun1@huawei.com>
Tue, 19 Mar 2024 11:33:19 +0000 (19:33 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 3 May 2024 03:48:30 +0000 (23:48 -0400)
commit57341fe3179c7694c92dcf99e7f836cee4c800dd
tree3314031b16449e67b33e264fc545e04be414b9ff
parentf536808adcc37a546bf9cc819c349bd55a28159b
ext4: refactor out ext4_generic_attr_show()

Refactor out the function ext4_generic_attr_show() to handle the reading
of values of various common types, with no functional changes.

Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20240319113325.3110393-4-libaokun1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/sysfs.c