|
@@ -718,6 +718,7 @@ extern void ceph_queue_writeback(struct inode *inode);
|
|
|
extern int ceph_do_getattr(struct inode *inode, int mask);
|
|
extern int ceph_do_getattr(struct inode *inode, int mask);
|
|
|
extern int ceph_permission(struct inode *inode, int mask);
|
|
extern int ceph_permission(struct inode *inode, int mask);
|
|
|
extern int ceph_setattr(struct dentry *dentry, struct iattr *attr);
|
|
extern int ceph_setattr(struct dentry *dentry, struct iattr *attr);
|
|
|
|
|
+extern int ceph_setattr(struct dentry *dentry, struct iattr *attr);
|
|
|
extern int ceph_getattr(struct vfsmount *mnt, struct dentry *dentry,
|
|
extern int ceph_getattr(struct vfsmount *mnt, struct dentry *dentry,
|
|
|
struct kstat *stat);
|
|
struct kstat *stat);
|
|
|
|
|
|
|
@@ -741,12 +742,14 @@ extern const struct xattr_handler *ceph_xattr_handlers[];
|
|
|
#ifdef CONFIG_CEPH_FS_POSIX_ACL
|
|
#ifdef CONFIG_CEPH_FS_POSIX_ACL
|
|
|
|
|
|
|
|
struct posix_acl *ceph_get_acl(struct inode *, int);
|
|
struct posix_acl *ceph_get_acl(struct inode *, int);
|
|
|
|
|
+int ceph_set_acl(struct inode *inode, struct posix_acl *acl, int type);
|
|
|
int ceph_init_acl(struct dentry *, struct inode *, struct inode *);
|
|
int ceph_init_acl(struct dentry *, struct inode *, struct inode *);
|
|
|
void ceph_forget_all_cached_acls(struct inode *inode);
|
|
void ceph_forget_all_cached_acls(struct inode *inode);
|
|
|
|
|
|
|
|
#else
|
|
#else
|
|
|
|
|
|
|
|
#define ceph_get_acl NULL
|
|
#define ceph_get_acl NULL
|
|
|
|
|
+#define ceph_set_acl NULL
|
|
|
|
|
|
|
|
static inline int ceph_init_acl(struct dentry *dentry, struct inode *inode,
|
|
static inline int ceph_init_acl(struct dentry *dentry, struct inode *inode,
|
|
|
struct inode *dir)
|
|
struct inode *dir)
|