diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2012-05-23 17:57:49 +0200 |
---|---|---|
committer | Josef Bacik <josef@redhat.com> | 2012-05-30 10:23:44 -0400 |
commit | 48235a68a3d1db579fc20d9915815228a1825757 (patch) | |
tree | 38dfe2fd0e8e3641492b32203ab04e5281887438 /fs/btrfs | |
parent | 86ff7ffce0b93aed14df4c8dcedd05bb5e2fdfbc (diff) | |
download | blackbird-op-linux-48235a68a3d1db579fc20d9915815228a1825757.tar.gz blackbird-op-linux-48235a68a3d1db579fc20d9915815228a1825757.zip |
Btrfs: fix false positive in check-integrity on unmount
During unmount, it could happen that the integrity checker printed a
warning message "attempt to free ... on umount which is not yet iodone"
which turned out to be a false positive.
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/check-integrity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c index ed7618389327..9cebb1fd6a3c 100644 --- a/fs/btrfs/check-integrity.c +++ b/fs/btrfs/check-integrity.c @@ -3337,7 +3337,7 @@ void btrfsic_unmount(struct btrfs_root *root, btrfsic_block_link_free(l); } - if (b_all->is_iodone) + if (b_all->is_iodone || b_all->never_written) btrfsic_block_free(b_all); else printk(KERN_INFO "btrfs: attempt to free %c-block" |