fuse: don't WARN when nlink is zero
authorMiklos Szeredi <mszeredi@suse.cz>
Mon, 4 Feb 2013 14:57:42 +0000 (15:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 3 Mar 2013 22:03:38 +0000 (06:03 +0800)
commitc205ae0e166fa0fdfdfb2cb55a4fc597b0dd68be
tree3d9475862551cd279ff623180f4e2a12ecb708a9
parentd62365d15278c2e3bdd17b413620264c74590ee6
fuse: don't WARN when nlink is zero

commit dfca7cebc2679f3d129f8e680a8f199a7ad16e38 upstream.

drop_nlink() warns if nlink is already zero.  This is triggerable by a buggy
userspace filesystem.  The cure, I think, is worse than the disease so disable
the warning.

Reported-by: Tero Roponen <tero.roponen@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/fuse/dir.c