mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 00:53:40 +00:00
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 <cel@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
a911fd9a60
commit
dc20f80390
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user