projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc7b0c9
)
Btrfs: remove outdated comment in btrfs_ioctl_resize()
author
Li Hong
<
[email protected]
>
Thu, 14 May 2009 17:52:21 +0000
(13:52 -0400)
committer
Chris Mason
<
[email protected]
>
Thu, 14 May 2009 18:00:33 +0000
(14:00 -0400)
In Li Zefan's commit
dae7b665cf6d6e6e733f1c9c16cf55547dd37e33
,
a combination call of kmalloc() and copy_from_user() is replaced by
memdup_user(). So btrfs_ioctl_resize() doesn't use GFP_NOFS any more.
Signed-off-by: Li Hong <
[email protected]
>
Signed-off-by: Chris Mason <
[email protected]
>
fs/btrfs/ioctl.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/ioctl.c
b/fs/btrfs/ioctl.c
index 48762aa1e945b3f01712837793449dd184bf2956..db84aa48ab7aceade2adadb0137d8888b8757c4d 100644
(file)
--- a/
fs/btrfs/ioctl.c
+++ b/
fs/btrfs/ioctl.c
@@
-437,10
+437,6
@@
out_unlock:
return 0;
}
-/*
- * Called inside transaction, so use GFP_NOFS
- */
-
static int btrfs_ioctl_resize(struct btrfs_root *root, void __user *arg)
{
u64 new_size;