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:
dde820f
)
Btrfs: reserve sufficient space for ioctl clone
author
Sage Weil
<sage@newdream.net>
Tue, 20 Sep 2011 18:48:51 +0000
(14:48 -0400)
committer
Chris Mason
<chris.mason@oracle.com>
Tue, 20 Sep 2011 18:48:51 +0000
(14:48 -0400)
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>
fs/btrfs/ioctl.c
patch
|
blob
|
history
diff --cc
fs/btrfs/ioctl.c
Simple merge