https://github.com/torvalds/linux
Revision 7e6b6465e6efbca3985258996be9c189da96c8bf authored by Miao Xie on 18 February 2011, 09:21:17 UTC, committed by Chris Mason on 10 March 2011, 16:21:49 UTC
btrfs_link() will insert 3 items(inode ref, dir name item and dir index item)
into the b+ tree and update 2 items(its inode, and parent's inode) in the b+
tree. So we should reserve space for these 5 items, not 3 items.

Reported-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
1 parent b4966b7
History
Tip revision: 7e6b6465e6efbca3985258996be9c189da96c8bf authored by Miao Xie on 18 February 2011, 09:21:17 UTC
btrfs: fix not enough reserved space
Tip revision: 7e6b646
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 175.1 KB
Makefile -rw-r--r-- 50.5 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top