diff options
author | Sam Lang <sam.lang@inktank.com> | 2012-12-28 17:56:46 (GMT) |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2013-01-17 18:42:36 (GMT) |
commit | 6e8575faa8fa680d59404a4d58d12190667be815 (patch) | |
tree | 702820d6f2acc31fcb8a6efd18471d390a54e962 /drivers/power | |
parent | 79aec9844de339531f05b019644ccaf5dd777144 (diff) | |
download | linux-fsl-qoriq-6e8575faa8fa680d59404a4d58d12190667be815.tar.xz |
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>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions