Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] Remove warning: VFS is out of sync with lock manager

But keep it as a dprintk

The message can be generated in a quite normal situation:
If a 'lock' request is interrupted, then the lock client needs to
record that the server has the lock, incase it does.
When we come the unlock, the server might say it doesn't, even
though we think it does (or might) and this generates the message.

Signed-off-by: Neil Brown <neilb@suse.de>
Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Neil Brown and committed by
Linus Torvalds
46bae1a9 ec268be3

+3 -2
+3 -2
fs/nfs/file.c
··· 434 434 BUG(); 435 435 } 436 436 if (res < 0) 437 - printk(KERN_WARNING "%s: VFS is out of sync with lock manager!\n", 438 - __FUNCTION__); 437 + dprintk(KERN_WARNING "%s: VFS is out of sync with lock manager" 438 + " - error %d!\n", 439 + __FUNCTION__, res); 439 440 return res; 440 441 } 441 442