summaryrefslogtreecommitdiff
path: root/fs/btrfs/delayed-ref.h
diff options
context:
space:
mode:
authorJan Schmidt <list.btrfs@jan-o-sch.net>2012-05-16 15:04:52 (GMT)
committerJan Schmidt <list.btrfs@jan-o-sch.net>2012-05-26 10:17:53 (GMT)
commit5581a51a59a1f5f51ac3d4bacafb738d35e0350b (patch)
treed7e291e139d08f2be7870c9da602658df8f51ce8 /fs/btrfs/delayed-ref.h
parent976b1908d97bd8cbd024ba7aafaa3fb637ea8e13 (diff)
downloadlinux-fsl-qoriq-5581a51a59a1f5f51ac3d4bacafb738d35e0350b.tar.xz
Btrfs: don't set for_cow parameter for tree block functions
Three callers of btrfs_free_tree_block or btrfs_alloc_tree_block passed parameter for_cow = 1. In fact, these two functions should never mark their tree modification operations as for_cow, because they can change the number of blocks referenced by a tree. Hence, we remove the extra for_cow parameter from these functions and make them pass a zero down. Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Diffstat (limited to 'fs/btrfs/delayed-ref.h')
0 files changed, 0 insertions, 0 deletions