summaryrefslogtreecommitdiff
path: root/fs/btrfs/backref.h
diff options
context:
space:
mode:
authorJan Schmidt <list.btrfs@jan-o-sch.net>2012-03-23 20:24:19 +0400
committerJan Schmidt <list.btrfs@jan-o-sch.net>2012-03-27 16:51:20 +0400
commit103e976616fe9c2a3e40764c979fa1a592274da2 (patch)
tree77d806d5a59168e14927655dfbbe3d49bd7fbe5b /fs/btrfs/backref.h
parente565d4b962948e70f37f417603caf131a773621b (diff)
downloadlinux-103e976616fe9c2a3e40764c979fa1a592274da2.tar.xz
Btrfs: check return value of btrfs_cow_block()
The two helper functions commit_cowonly_roots() and create_pending_snapshot() failed to check the return value from btrfs_cow_block(), which could at least in theory fail with -ENOSPC from btrfs_alloc_free_block(). This commit adds the missing checks. Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Diffstat (limited to 'fs/btrfs/backref.h')
0 files changed, 0 insertions, 0 deletions