]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't warn in btrfs_add_orphan
authorJosef Bacik <josef@redhat.com>
Mon, 28 Mar 2011 13:43:25 +0000 (13:43 +0000)
committerChris Mason <chris.mason@oracle.com>
Tue, 5 Apr 2011 05:20:24 +0000 (01:20 -0400)
commit02464c736e97be6fae596d3a6e79421900eb22a7
treeb8e40481dfe5f7e3bd749a29c6f0df70f1efd171
parent2d683fde502e5fc234070a0bb8179be99150fb4b
Btrfs: don't warn in btrfs_add_orphan

When I moved the orphan adding to btrfs_truncate I missed the fact that during
orphan cleanup we just add the orphan items to the orphan list without going
through btrfs_orphan_add, which results in lots of warnings on mount if you have
any orphan items that need to be truncated.  Just remove this warning since it's
ok, this will allow all of the normal space accounting take place.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c