projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86ff7ff
)
Btrfs: fix false positive in check-integrity on unmount
author
Stefan Behrens
<sbehrens@giantdisaster.de>
Wed, 23 May 2012 15:57:49 +0000
(17:57 +0200)
committer
Josef Bacik
<josef@redhat.com>
Wed, 30 May 2012 14:23:44 +0000
(10:23 -0400)
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>
fs/btrfs/check-integrity.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/check-integrity.c
b/fs/btrfs/check-integrity.c
index
ed76183
..
9cebb1f
100644
(file)
--- 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"