]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit57070d012cd425c3a71663528c56a436abd2d9da
treeb5c4a356b9db70d59341695b8eca578d05f1972e
parent30087baf8810cd96b0ca2858993f29a89965ffff
[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