Skip to content
Commit 7f366cfe authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: reduce stack in cow_file_range



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>
parent b7ec40d7
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