linux/fs/ceph
Sage Weil 3540303f87 ceph: fix rare potential cap leak
If we grab new_cap, retake the lock, and find we already have a cap now
for the given mds, release new_cap.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-05-19 11:25:03 -07:00
..
addr.c ceph: handle ceph_osdc_new_request failure in ceph_writepages_start 2011-05-03 09:28:12 -07:00
caps.c ceph: fix rare potential cap leak 2011-05-19 11:25:03 -07:00
ceph_frag.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c ceph: remove debugfs debug cruft 2011-03-21 12:24:20 -07:00
dir.c ceph: use snprintf for dirstat content 2011-05-19 11:25:02 -07:00
export.c ceph: add dir_layout to inode 2011-01-12 15:15:12 -08:00
file.c ceph: do not call __mark_dirty_inode under i_lock 2011-05-04 12:56:45 -07:00
inode.c ceph: do not use i_wrbuffer_ref as refcount for Fb cap 2011-05-11 10:44:48 -07:00
ioctl.c ceph: add CEPH_MDS_OP_SETDIRLAYOUT and associated ioctl. 2010-10-20 15:38:23 -07:00
ioctl.h ceph: fix ioctl magic 2010-12-06 09:45:22 -08:00
Kconfig ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
locks.c ceph: Behave better when handling file lock replies. 2010-12-01 14:22:34 -08:00
Makefile ceph: Makefile: Remove unnessary code 2011-01-12 15:15:13 -08:00
mds_client.c libceph: remove unused variable 2011-05-19 11:24:17 -07:00
mds_client.h ceph: drop redundant r_mds field 2011-01-12 15:15:13 -08:00
mdsmap.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
snap.c ceph: fix list_add in ceph_put_snap_realm 2011-05-11 10:44:36 -07:00
strings.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
super.c ceph: Move secret key parsing earlier. 2011-03-29 12:11:16 -07:00
super.h ceph: do not use i_wrbuffer_ref as refcount for Fb cap 2011-05-11 10:44:48 -07:00
xattr.c ceph: do not call __mark_dirty_inode under i_lock 2011-05-04 12:56:45 -07:00