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
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 151 bytes |
Kconfig | -rw-r--r-- | 4.8 KB |
Makefile | -rw-r--r-- | 2.2 KB |
gen_init_cpio.c | -rw-r--r-- | 12.3 KB |
initramfs_data.S | -rw-r--r-- | 1021 bytes |
initramfs_data.bz2.S | -rw-r--r-- | 1.0 KB |
initramfs_data.gz.S | -rw-r--r-- | 1023 bytes |
initramfs_data.lzma.S | -rw-r--r-- | 1.0 KB |
initramfs_data.lzo.S | -rw-r--r-- | 1.0 KB |
Computing file changes ...