alistair23-linux/fs/ceph
Sage Weil 7421ab8041 ceph: fix open for write on clustered mds
Normally when we open a file we already have a cap, and simply update the
wanted set.  However, if we open a file for write, but don't have an auth
cap, that doesn't work; we need to open a new cap with the auth MDS.  Only
reuse existing caps if we are opening for read or the existing cap is auth.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-11-07 09:07:15 -08:00
..
addr.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
caps.c Revert "ceph: update issue_seq on cap grant" 2010-10-27 21:05:54 -07:00
ceph_frag.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c ceph: fix debugfs warnings 2010-10-20 15:38:21 -07:00
dir.c ceph: do not carry i_lock for readdir from dcache 2010-10-20 15:38:27 -07:00
export.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
file.c ceph: fix open for write on clustered mds 2010-11-07 09:07:15 -08:00
inode.c ceph: fix bad pointer dereference in ceph_fill_trace 2010-11-07 08:40:43 -08:00
ioctl.c ceph: add CEPH_MDS_OP_SETDIRLAYOUT and associated ioctl. 2010-10-20 15:38:23 -07:00
ioctl.h ceph: add CEPH_MDS_OP_SETDIRLAYOUT and associated ioctl. 2010-10-20 15:38:23 -07:00
Kconfig ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
locks.c ceph: preallocate flock state without locks held 2010-10-20 15:38:17 -07:00
Makefile ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
mds_client.c ceph: switch from BKL to lock_flocks() 2010-10-20 15:38:18 -07:00
mds_client.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
mdsmap.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
snap.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
strings.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
super.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
super.h ceph: do not carry i_lock for readdir from dcache 2010-10-20 15:38:27 -07:00
xattr.c fs/ceph/xattr.c: Use kmemdup 2010-10-20 15:38:26 -07:00