linux/fs/ceph
Yan, Zheng 2cd698be9a ceph: handle cap import atomically
cap import messages are processed by both handle_cap_import() and
handle_cap_grant(). These two functions are not executed in the same
atomic context, so they can races with cap release.

The fix is make handle_cap_import() not release the i_ceph_lock when
it returns. Let handle_cap_grant() release the lock after it finishes
its job.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
2014-06-06 09:29:53 +08:00
..
acl.c ceph: remove useless ACL check 2014-06-06 09:29:50 +08:00
addr.c ceph: fix dout() compile warnings in ceph_filemap_fault() 2014-01-28 09:57:06 -08:00
cache.c ceph: fscache: Wait for completion of object initialization 2014-04-03 10:33:53 +08:00
cache.h ceph: fscache: add an interface to synchronize object store limit 2014-04-03 10:33:53 +08:00
caps.c ceph: handle cap import atomically 2014-06-06 09:29:53 +08:00
ceph_frag.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c ceph: print inode number for LOOKUPINO request 2014-04-03 10:33:54 +08:00
dir.c ceph: clear directory's completeness when creating file 2014-04-28 12:54:44 -07:00
export.c ceph: ceph_get_parent() can be static 2014-06-06 09:29:50 +08:00
file.c These are regression and bug fixes for ext4. 2014-04-20 20:43:47 -07:00
inode.c ceph: pre-allocate ceph_cap struct for ceph_add_cap() 2014-06-06 09:29:53 +08:00
ioctl.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client 2014-05-05 15:17:02 -07:00
ioctl.h ceph: fully initialize new layout 2012-05-16 14:28:27 -05:00
Kconfig ceph: add acl for cephfs 2013-12-31 20:32:01 +02:00
locks.c ceph: reserve caps for file layout/lock MDS requests 2014-04-28 12:55:41 -07:00
Makefile ceph: add acl for cephfs 2013-12-31 20:32:01 +02:00
mds_client.c ceph: flush cap release queue when trimming session caps 2014-04-04 21:08:26 -07:00
mds_client.h ceph: preallocate buffer for readdir reply 2014-04-04 21:08:22 -07:00
mdsmap.c ceph: tidy ceph_mdsmap_decode() a little 2013-07-01 09:52:02 -07:00
snap.c ceph: use ceph_create_snap_context() 2013-05-01 21:20:09 -07:00
strings.c ceph: add get_name() NFS export callback 2014-04-03 10:33:53 +08:00
super.c ceph: use fl->fl_file as owner identifier of flock and posix lock 2014-04-04 21:07:11 -07:00
super.h ceph: pre-allocate ceph_cap struct for ceph_add_cap() 2014-06-06 09:29:53 +08:00
xattr.c ceph: don't include ceph.{file,dir}.layout vxattr in listxattr() 2014-04-04 21:07:21 -07:00