aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorMark Fasheh <[email protected]>2014-07-17 19:39:04 +0000
committerChris Mason <[email protected]>2014-08-15 14:43:16 +0000
commitf90e579c2b391979630b3343de0be65ab1b478ce (patch)
treef62a838f21e8b592796893e9998cc53310fea172 /lib/bitmap.c
parentbtrfs: qgroup: account shared subtrees during snapshot delete (diff)
downloadkernel-f90e579c2b391979630b3343de0be65ab1b478ce.tar.gz
kernel-f90e579c2b391979630b3343de0be65ab1b478ce.zip
btrfs: correctly handle return from ulist_add
ulist_add() can return '1' on sucess, which qgroup_subtree_accounting() doesn't take into account. As a result, that value can be bubbled up to callers, causing an error to be printed. Fix this by only returning the value of ulist_add() when it indicates an error. Signed-off-by: Mark Fasheh <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions