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:06:43 +0000 (06:06 +0800)
commit146207bbadeb4578334d6e26b9b690df8aeb1a3d
treedbf8d2cbe783956cdd0310e28f6187f2e0e39186
parent94dcb26bbbed1851e0a7fb16165207c2c61e545f
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