summaryrefslogtreecommitdiffstats
path: root/fs/xattr_acl.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-02-01 15:57:47 -0500
committerJosef Bacik <jbacik@fusionio.com>2013-02-20 12:59:31 -0500
commit925396ecf251432d6d0f703a6cfd0cb9e651d936 (patch)
tree046fc18a32543d07aad52383afcd26c462ce12af /fs/xattr_acl.c
parent0bec9ef525e33233d7739b71be83bb78746f6e94 (diff)
downloadblackbird-op-linux-925396ecf251432d6d0f703a6cfd0cb9e651d936.tar.gz
blackbird-op-linux-925396ecf251432d6d0f703a6cfd0cb9e651d936.zip
Btrfs: account for orphan inodes properly during cleanup
Dave sent me a panic where we were doing the orphan cleanup and panic'ed trying to release our reservation from the orphan block rsv. The reason for this is because our orphan block rsv had been free'd out from underneath us because the transaction commit found that there were no orphan inodes according to its count and decided to free it. This is incorrect so make sure we inc the orphan inodes count so the accounting is all done properly. This would also cause the warning in the orphan commit code normally if you had any orphans to cleanup as they would only decrement the orphan count so you'd get a negative orphan count which could cause problems during runtime. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/xattr_acl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud