https://github.com/torvalds/linux
Revision f90e579c2b391979630b3343de0be65ab1b478ce authored by Mark Fasheh on 17 July 2014, 19:39:04 UTC, committed by Chris Mason on 15 August 2014, 14:43:16 UTC
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>
1 parent 1152651
History
Tip revision: f90e579c2b391979630b3343de0be65ab1b478ce authored by Mark Fasheh on 17 July 2014, 19:39:04 UTC
btrfs: correctly handle return from ulist_add
Tip revision: f90e579
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 276.3 KB
Makefile -rw-r--r-- 51.1 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top