kernel-ark/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_proc.c
callback_xdr.c nfs: fix sparse warnings 2008-02-20 16:15:44 -05:00
callback.c Wrap buffers used for rpc debug printks into RPC_IFDEBUG 2008-02-21 18:42:29 -05:00
callback.h
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 NFS: nfs_write_end clean up 2008-01-30 02:06:02 -05:00
getroot.c
idmap.c nfs: fix sparse warnings 2008-02-20 16:15:44 -05:00
inode.c
internal.h
iostat.h
Makefile
mount_clnt.c NFS: Switch from intr mount option to TASK_KILLABLE 2007-12-06 17:40:25 -05:00
namespace.c Introduce path_put() 2008-02-14 21:13:33 -08:00
nfs2xdr.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c NFS: Use unsigned intermediates for manipulating header lengths (NFSv3 XDR) 2008-01-30 02:05:44 -05:00
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 NFS: Ensure NFSv4 SETCLIENTID send buffer is large enough 2008-01-30 02:05:51 -05:00
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