From: Chuck Lever Date: Wed, 30 Nov 2005 23:08:57 +0000 (-0500) Subject: NFS: get rid of useless kernel log message X-Git-Tag: v2.6.16-rc1~935^2~4^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc20f803904dbf30f834dcc43c14701dfce32491;p=platform%2Fkernel%2Flinux-3.10.git NFS: get rid of useless kernel log message nfs_statfs() generates a log message when GETATTR returns an error. This is usually a useless message. Make it a dprintk. Test plan: None Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index da58207..cc75392 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c @@ -575,11 +575,10 @@ nfs_statfs(struct super_block *sb, struct kstatfs *buf) buf->f_namelen = server->namelen; out: unlock_kernel(); - return 0; out_err: - printk(KERN_WARNING "nfs_statfs: statfs error = %d\n", -error); + dprintk("%s: statfs error = %d\n", __FUNCTION__, -error); buf->f_bsize = buf->f_blocks = buf->f_bfree = buf->f_bavail = -1; goto out;