linux/fs/ceph
Sam Lang 6e8575faa8 ceph: Check for created flag in response from mds
The mds now sends back a created inode if the create request
performed the create.  If the file already existed, no inode is
returned in the reply.  This allows ceph to set the created flag
in atomic_open so that permissions are properly checked in the case
that the file wasn't created by the create call to the mds.

To ensure compability with previous kernels, a feature for sending
back the inode in the create reply was added, so that the mds will
only send back the inode if the client indicates it supports the
feature.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-01-17 12:42:36 -06:00
..
addr.c libceph: Unlock unprocessed pages in start_read() error path 2012-12-13 08:13:09 -06:00
caps.c ceph: call handle_cap_grant() for cap import message 2012-12-13 08:13:08 -06:00
ceph_frag.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c libceph: delay debugfs initialization until we learn global_id 2012-08-20 10:03:15 -07:00
dir.c ceph: simplify+fix atomic_open 2012-08-02 09:11:19 -07:00
export.c ceph: fix dentry reference leak in ceph_encode_fh(). 2012-12-13 08:13:06 -06:00
file.c ceph: Check for created flag in response from mds 2013-01-17 12:42:36 -06:00
inode.c ceph: Fix __ceph_do_pending_vmtruncate 2012-12-13 08:13:08 -06:00
ioctl.c ceph: return EIO on invalid layout on GET_DATALOC ioctl 2012-10-03 10:51:17 -05:00
ioctl.h ceph: fully initialize new layout 2012-05-16 14:28:27 -05:00
Kconfig ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
locks.c ceph: unwind canceled flock state 2011-06-07 21:36:45 -07:00
Makefile ceph: Makefile: Remove unnessary code 2011-01-12 15:15:13 -08:00
mds_client.c ceph: Check for created flag in response from mds 2013-01-17 12:42:36 -06:00
mds_client.h ceph: Check for created flag in response from mds 2013-01-17 12:42:36 -06:00
mdsmap.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
snap.c ceph: define snap counts as u32 everywhere 2012-07-30 18:15:47 -07:00
strings.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
super.c bdi_register: add __printf verification, fix arg mismatch 2012-12-13 08:13:07 -06:00
super.h ceph: simplify+fix atomic_open 2012-08-02 09:11:19 -07:00
xattr.c ceph: fix potential double free 2012-07-30 18:15:35 -07:00