https://github.com/torvalds/linux
Revision b6f3409b2197e8fcedb43e6600e37b7cfbe0715b authored by Sage Weil on 20 September 2011, 18:48:51 UTC, committed by Chris Mason on 20 September 2011, 18:48:51 UTC
Fix a crash/BUG_ON in the clone ioctl due to insufficient reservation. We
need to reserve space for:

 - adjusting the old extent (possibly splitting it)
 - adding the new extent
 - updating the inode

Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
1 parent dde820f
History
Tip revision: b6f3409b2197e8fcedb43e6600e37b7cfbe0715b authored by Sage Weil on 20 September 2011, 18:48:51 UTC
Btrfs: reserve sufficient space for ioctl clone
Tip revision: b6f3409
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-- 966 bytes
.mailmap -rw-r--r-- 4.2 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.3 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 190.6 KB
Makefile -rw-r--r-- 52.2 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top