]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: fix potential double free
authorAlan Cox <alan@linux.intel.com>
Fri, 20 Jul 2012 13:18:36 +0000 (08:18 -0500)
committerSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:15:35 +0000 (18:15 -0700)
commit074c047fedae1774d3fc24c458c9215d6ecf38c2
treecbdfa66b0b8c6dbe7911eab10e94ba0c21a50abd
parentde8a50a523dd80e2f7d3829cadd038ee0055addf
ceph: fix potential double free

We re-run the loop but we don't re-set the attrs pointer back to NULL.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Reviewed-by: Alex Elder <elder@inktank.com>
fs/ceph/xattr.c