summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.de>2014-07-17 19:39:04 (GMT)
committerChris Mason <clm@fb.com>2014-08-15 14:43:16 (GMT)
commitf90e579c2b391979630b3343de0be65ab1b478ce (patch)
treef62a838f21e8b592796893e9998cc53310fea172 /fs/btrfs/inode.c
parent1152651a081720ef6a8c76bb7da676e8c900ac30 (diff)
downloadlinux-f90e579c2b391979630b3343de0be65ab1b478ce.tar.xz
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 <mfasheh@suse.de> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions