aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorMiao Xie <[email protected]>2012-12-19 06:59:51 +0000
committerJosef Bacik <[email protected]>2013-02-20 14:36:39 +0000
commit0e8c36a9fd8169a8b96c2ddc8446894bcd07b6b1 (patch)
tree023c77f4f81ef42142f7cea56cbf9da9e6dd80fe /fs/btrfs/dev-replace.c
parentBtrfs: cleanup similar code in delayed inode (diff)
downloadkernel-0e8c36a9fd8169a8b96c2ddc8446894bcd07b6b1.tar.gz
kernel-0e8c36a9fd8169a8b96c2ddc8446894bcd07b6b1.zip
Btrfs: fix lots of orphan inodes when the space is not enough
We're running into having 50-100 orphans left over with xfstests 83 because of ENOSPC when trying to start the transaction for the inode update. But in fact, it makes no sense in updating the inode for the new size while we're deleting the stupid thing. This patch fixes this problem. Reported-by: Josef Bacik <[email protected]> Signed-off-by: Miao Xie <[email protected]> Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions