kernel-hacking-2024-linux-s.../fs/nfs
Pavel Emelyanov 5216a8e70e Wrap buffers used for rpc debug printks into RPC_IFDEBUG
Sorry for the noise, but here's the v3 of this compilation fix :)

There are some places, which declare the char buf[...] on the stack
to push it later into dprintk(). Since the dprintk sometimes (if the
CONFIG_SYSCTL=n) becomes an empty do { } while (0) stub, these buffers
cause gcc to produce appropriate warnings.

Wrap these buffers with RPC_IFDEBUG macro, as Trond proposed, to
compile them out when not needed.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2008-02-21 18:42:29 -05:00
..
callback.c Wrap buffers used for rpc debug printks into RPC_IFDEBUG 2008-02-21 18:42:29 -05:00
callback.h
callback_proc.c
callback_xdr.c nfs: fix sparse warnings 2008-02-20 16:15:44 -05:00
client.c
delegation.c nfs: fix sparse warnings 2008-02-20 16:15:44 -05:00
delegation.h
dir.c NFS: remove error field from nfs_readdir_descriptor_t 2008-02-13 23:24:07 -05:00
direct.c
file.c
getroot.c Convert ERR_PTR(PTR_ERR(p)) instances to ERR_CAST(p) 2008-02-07 08:42:26 -08:00
idmap.c nfs: fix sparse warnings 2008-02-20 16:15:44 -05:00
inode.c
internal.h
iostat.h
Makefile
mount_clnt.c
namespace.c Introduce path_put() 2008-02-14 21:13:33 -08:00
nfs2xdr.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c
nfs4_fs.h
nfs4namespace.c
nfs4proc.c Embed a struct path into struct nameidata instead of nd->{dentry,mnt} 2008-02-14 21:13:33 -08:00
nfs4renewd.c
nfs4state.c nfs: fix sparse warnings 2008-02-20 16:15:44 -05:00
nfs4xdr.c
nfsroot.c
pagelist.c
proc.c
read.c
super.c NFS: add missing spkm3 strings to mount option parser 2008-02-13 23:24:08 -05:00
symlink.c
sysctl.c
unlink.c
write.c NFS: Fix a potential file corruption issue when writing 2008-02-07 19:20:20 -05:00