Skip to content
Commit 093adbce authored by David Sterba's avatar David Sterba
Browse files

btrfs: switch helper macros to static inlines in sysfs.h



The conversion macros use nested container_of that leads to a warning

fs/btrfs/sysfs.c: In function 'btrfs_feature_visible':
fs/btrfs/sysfs.c:183:8: warning: declaration of '__mptr' shadows a previous local
fs/btrfs/sysfs.c:183:8: warning: shadowed declaration is here

Use of functions will add proper type checking.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.cz>
parent 9d644a62
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment