git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d69a0f
)
Btrfs: avoid orphan inode caused by log replay
author
Yan Zheng
<zheng.yan@oracle.com>
Mon, 5 Jan 2009 20:43:42 +0000
(15:43 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Mon, 5 Jan 2009 20:43:42 +0000
(15:43 -0500)
drop_one_dir_item does not properly update inode's link count. It can be
reproduced by executing following commands:
#touch test
#sync
#rm -f test
#dd if=/dev/zero bs=4k count=1 of=test conv=fsync
#echo b > /proc/sysrq-trigger
This fixes it by adding an BTRFS_ORPHAN_ITEM_KEY for the inode
Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
No differences found