• Chris Mason's avatar
    Btrfs: reduce stack in cow_file_range · 7f366cfe
    Chris Mason authored
    The fs/btrfs/inode.c code to run delayed allocation during writout
    needed some stack usage optimization.  This is the first pass, it does
    the check for compression earlier on, which allows us to do the common
    (no compression) case higher up in the call chain.
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>