Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189466
b: refs/heads/master
c: c2b9692
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Chris Mason committed Mar 31, 2010
1 parent 39be539 commit be1e59f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 683be16eb6e19a35aca2473668652259ed074094
refs/heads/master: c2b96929e2ca6914cf4a66cd8fe2a34c4a98277f
3 changes: 3 additions & 0 deletions trunk/fs/btrfs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1211,6 +1211,9 @@ static noinline int btrfs_ioctl_ino_lookup(struct file *file,
return -EPERM;

args = kmalloc(sizeof(*args), GFP_KERNEL);
if (!args)
return -ENOMEM;

if (copy_from_user(args, argp, sizeof(*args))) {
kfree(args);
return -EFAULT;
Expand Down

0 comments on commit be1e59f

Please sign in to comment.