summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2013-03-29 14:39:16 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-12 16:52:03 (GMT)
commit8a348c928a2bfe8640c29a52ac81263aa46c4347 (patch)
treee0854176ee9e53f8477a0eaa4e221ad207d083a0 /ipc
parent1afae6963468982b21072e13999dcc94553a7e44 (diff)
downloadlinux-fsl-qoriq-8a348c928a2bfe8640c29a52ac81263aa46c4347.tar.xz
reiserfs: Fix warning and inode leak when deleting inode with xattrs
commit 35e5cbc0af240778e61113286c019837e06aeec6 upstream. After commit 21d8a15a (lookup_one_len: don't accept . and ..) reiserfs started failing to delete xattrs from inode. This was due to a buggy test for '.' and '..' in fill_with_dentries() which resulted in passing '.' and '..' entries to lookup_one_len() in some cases. That returned error and so we failed to iterate over all xattrs of and inode. Fix the test in fill_with_dentries() along the lines of the one in lookup_one_len(). Reported-by: Pawel Zawora <pzawora@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions