• David Sterba's avatar
    btrfs: drop gfp from parameter extent state helpers · 1d126800
    David Sterba authored
    Now that all extent state bit helpers effectively take the GFP_NOFS mask
    (and GFP_NOWAIT is encoded in the bits) we can remove the parameter.
    This reduces stack consumption in many functions and simplifies a lot of
    code.
    
    Net effect on module on a release build:
    
       text    data     bss     dec     hex filename
    1250432   20985   16088 1287505  13a551 pre/btrfs.ko
    1247074   20985   16088 1284147  139833 post/btrfs.ko
    
    DELTA: -3358
    Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
    1d126800
extent_io.c 133 KB