]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
NFS: get rid of useless kernel log message
authorChuck Lever <cel@netapp.com>
Wed, 30 Nov 2005 23:08:57 +0000 (18:08 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 6 Jan 2006 19:58:48 +0000 (14:58 -0500)
 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 <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c

index da58207b366b1dd854985e8ac9ce67baa69a78ee..cc753928e4116cc6d54f8543aea288ebb2dcd4d6 100644 (file)
@@ -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;