mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +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
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue