Clean up: Commit 46bae1a9 changed this printk to a dprintk but didn't
remove the KERN_WARNING, which is no longer needed.
Signed-off-by: Chuck Lever <[email protected]>
---
fs/nfs/file.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/fs/nfs/file.c b/fs/nfs/file.c
index 10e8b80..3438cd4 100644
--- a/fs/nfs/file.c
+++ b/fs/nfs/file.c
@@ -520,9 +520,8 @@ static int do_vfs_lock(struct file *file, struct file_lock *fl)
BUG();
}
if (res < 0)
- dprintk(KERN_WARNING "%s: VFS is out of sync with lock manager"
- " - error %d!\n",
- __FUNCTION__, res);
+ dprintk("NFS: VFS is out of sync with lock manager "
+ "(error %d)\n", res);
return res;
}