• D
    btrfs: switch helper macros to static inlines in sysfs.h · 093adbce
    David Sterba 提交于
    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: NDavid Sterba <dsterba@suse.cz>
    093adbce
sysfs.h 2.7 KB