Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23591
b: refs/heads/master
c: 57070d0
h: refs/heads/master
i:
  23589: cf65df4
  23587: bb7644d
  23583: 6d67170
v: v3
  • Loading branch information
Peter Staubach authored and Linus Torvalds committed Mar 25, 2006
1 parent d5708c8 commit 6373379
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 30087baf8810cd96b0ca2858993f29a89965ffff
refs/heads/master: 57070d012cd425c3a71663528c56a436abd2d9da
5 changes: 4 additions & 1 deletion trunk/fs/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -2170,9 +2170,12 @@ asmlinkage long compat_sys_nfsservctl(int cmd, struct compat_nfsctl_arg __user *

default:
err = -EINVAL;
goto done;
break;
}

if (err)
goto done;

oldfs = get_fs();
set_fs(KERNEL_DS);
/* The __user pointer casts are valid because of the set_fs() */
Expand Down

0 comments on commit 6373379

Please sign in to comment.