diff options
author | Chuck Lever <cel@netapp.com> | 2005-11-30 18:08:57 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-01-06 14:58:48 -0500 |
commit | dc20f803904dbf30f834dcc43c14701dfce32491 (patch) | |
tree | 27d12ce7f8c7455501c93198d194824a346ce2ad /fs/nfs | |
parent | a911fd9a6046200e439b4af172e8379c0942eec3 (diff) |
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>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index da58207b366b..cc753928e411 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -575,11 +575,10 @@ nfs_statfs(struct super_block *sb, struct kstatfs *buf) | |||
575 | buf->f_namelen = server->namelen; | 575 | buf->f_namelen = server->namelen; |
576 | out: | 576 | out: |
577 | unlock_kernel(); | 577 | unlock_kernel(); |
578 | |||
579 | return 0; | 578 | return 0; |
580 | 579 | ||
581 | out_err: | 580 | out_err: |
582 | printk(KERN_WARNING "nfs_statfs: statfs error = %d\n", -error); | 581 | dprintk("%s: statfs error = %d\n", __FUNCTION__, -error); |
583 | buf->f_bsize = buf->f_blocks = buf->f_bfree = buf->f_bavail = -1; | 582 | buf->f_bsize = buf->f_blocks = buf->f_bfree = buf->f_bavail = -1; |
584 | goto out; | 583 | goto out; |
585 | 584 | ||