summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2012-03-27 16:09:18 +0200
committerIlya Dryomov <idryomov@gmail.com>2012-03-27 16:09:18 +0200
commit213e64da90d14537cd63f7090d6c4d1fcc75d9f8 (patch)
treec7603bcc554d033ef0521a0a7898c924930721e7 /fs/btrfs/ctree.h
parentBtrfs: fix memory leak in resolver code (diff)
downloadlinux-213e64da90d14537cd63f7090d6c4d1fcc75d9f8.tar.xz
linux-213e64da90d14537cd63f7090d6c4d1fcc75d9f8.zip
Btrfs: fix infinite loop in btrfs_shrink_device()
If relocate of block group 0 fails with ENOSPC we end up infinitely looping because key.offset -= 1 statement in that case brings us back to where we started. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
0 files changed, 0 insertions, 0 deletions