diff options
author | Peter Staubach <staubach@redhat.com> | 2006-03-25 03:08:04 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 08:22:59 -0800 |
commit | 57070d012cd425c3a71663528c56a436abd2d9da (patch) | |
tree | b5c4a356b9db70d59341695b8eca578d05f1972e /lib | |
parent | 30087baf8810cd96b0ca2858993f29a89965ffff (diff) | |
download | linux-3.10-57070d012cd425c3a71663528c56a436abd2d9da.tar.gz linux-3.10-57070d012cd425c3a71663528c56a436abd2d9da.tar.bz2 linux-3.10-57070d012cd425c3a71663528c56a436abd2d9da.zip |
[PATCH] compat_sys_nfsservctl(): handle errors correctly
Correct some error handling on the compat version of the nfsservctl()
system. It was detecting errors while copying in the arguments from user
space, but then attempting to use the arguments anyway. This didn't seem
so good.
Signed-off-by: Peter Staubach <staubach@redhat.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions