kernel_optimize_test/fs/nfsd
Julia Lawall 92566e287d fs/nfsd/nfs4idmap.c: adjust inconsistent IS_ERR and PTR_ERR
Change the call to PTR_ERR to access the value just tested by IS_ERR.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression e,e1;
@@

(
if (IS_ERR(e)) { ... PTR_ERR(e) ... }
|
if (IS_ERR(e=e1)) { ... PTR_ERR(e) ... }
|
*if (IS_ERR(e))
 { ...
*  PTR_ERR(e1)
   ... }
)
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2012-09-10 17:46:17 -04:00
..
acl.h
auth.c
auth.h
cache.h
current_stateid.h
export.c SUNRPC: service request network namespace helper introduced 2012-07-27 16:49:21 -04:00
fault_inject.c
fault_inject.h
idmap.h
Kconfig
lockd.c
Makefile
netns.h NFSd: make boot_time variable per network namespace 2012-07-27 16:49:22 -04:00
nfs2acl.c nfsd4: nfsaclsvc_encode_voidres static 2012-08-20 18:39:49 -04:00
nfs3acl.c
nfs3proc.c nfsd: do_nfsd_create verf argument is a u32 2012-08-20 18:39:49 -04:00
nfs3xdr.c
nfs4acl.c
nfs4callback.c nfsd4: fix security flavor of NFSv4.0 callback 2012-08-20 18:38:36 -04:00
nfs4idmap.c fs/nfsd/nfs4idmap.c: adjust inconsistent IS_ERR and PTR_ERR 2012-09-10 17:46:17 -04:00
nfs4proc.c NFSD: Swap the struct nfs4_operation getter and setter 2012-08-20 18:53:25 -04:00
nfs4recover.c nfsd: Push mnt_want_write() outside of i_mutex 2012-07-31 01:02:51 +04:00
nfs4state.c nfsd4: fix nfs4 stateid leak 2012-09-10 10:55:14 -04:00
nfs4xdr.c
nfscache.c
nfsctl.c nfsd: remove unused listener-removal interfaces 2012-09-10 10:55:19 -04:00
nfsd.h nfsd: remove redundant "port" argument 2012-08-21 17:07:49 -04:00
nfsfh.c nfsd: Push mnt_want_write() outside of i_mutex 2012-07-31 01:02:51 +04:00
nfsfh.h
nfsproc.c nfsd: Push mnt_want_write() outside of i_mutex 2012-07-31 01:02:51 +04:00
nfssvc.c svcrpc: remove handling of unknown errors from svc_recv 2012-08-21 17:42:00 -04:00
nfsxdr.c
state.h nfsd: trivial comment updates 2012-08-20 18:39:42 -04:00
stats.c
vfs.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2012-08-01 10:26:23 -07:00
vfs.h nfsd: Push mnt_want_write() outside of i_mutex 2012-07-31 01:02:51 +04:00
xdr3.h
xdr4.h
xdr.h