]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] compat_sys_nfsservctl(): handle errors correctly
authorPeter Staubach <staubach@redhat.com>
Sat, 25 Mar 2006 11:08:04 +0000 (03:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:59 +0000 (08:22 -0800)
commit8e67ac04b392a2d7ac11c77c176eca97d3b0a866
treeb5c4a356b9db70d59341695b8eca578d05f1972e
parentabe569bdbe375688f96d00345035b576eec2f05e
[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>
fs/compat.c