summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2012-01-12 17:59:46 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-14 18:01:42 -0800
commitfed474857efbed79cd390d0aee224231ca718f63 (patch)
tree8935acfe89c87fe63f72bb114fa17f97f7c26564 /fs/nfs
parent1e6c4dfdeb040b2dd5c4d6d803ab95c3971ad80c (diff)
downloadop-kernel-dev-fed474857efbed79cd390d0aee224231ca718f63.zip
op-kernel-dev-fed474857efbed79cd390d0aee224231ca718f63.tar.gz
fsnotify: don't BUG in fsnotify_destroy_mark()
Removing the parent of a watched file results in "kernel BUG at fs/notify/mark.c:139". To reproduce add "-w /tmp/audit/dir/watched_file" to audit.rules rm -rf /tmp/audit/dir This is caused by fsnotify_destroy_mark() being called without an extra reference taken by the caller. Reported by Francesco Cosoleto here: https://bugzilla.novell.com/show_bug.cgi?id=689860 Fix by removing the BUG_ON and adding a comment about not accessing mark after the iput. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> CC: stable@vger.kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud