summaryrefslogtreecommitdiffstats
path: root/lib/nlattr.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2010-12-08 18:22:34 +0100
committerJosef Bacik <josef@redhat.com>2010-12-09 19:57:15 +0100
commit7e1fea731da8c1b5fcf5d8e157befd389b030760 (patch)
tree85800034e3b0f8262dd51e128264bec5ce30aed2 /lib/nlattr.c
parentBtrfs: do not do fast caching if we are allocating blocks for tree_root (diff)
downloadlinux-7e1fea731da8c1b5fcf5d8e157befd389b030760.tar.xz
linux-7e1fea731da8c1b5fcf5d8e157befd389b030760.zip
Btrfs: fixup return code for btrfs_del_orphan_item
If the orphan item doesn't exist, we return 1, which doesn't make any sense to the callers. Instead return -ENOENT if we didn't find the item. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions