mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-12 07:14:03 +08:00
ceph: make ceph_forget_all_cached_acls() static inline
Signed-off-by: Guangliang Zhao <lucienchao@gmail.com> Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
b20a95a0dd
commit
c969d9bf91
@ -54,11 +54,6 @@ static inline struct posix_acl *ceph_get_cached_acl(struct inode *inode,
|
||||
return acl;
|
||||
}
|
||||
|
||||
void ceph_forget_all_cached_acls(struct inode *inode)
|
||||
{
|
||||
forget_all_cached_acls(inode);
|
||||
}
|
||||
|
||||
struct posix_acl *ceph_get_acl(struct inode *inode, int type)
|
||||
{
|
||||
int size;
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <linux/wait.h>
|
||||
#include <linux/writeback.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/posix_acl.h>
|
||||
|
||||
#include <linux/ceph/libceph.h>
|
||||
|
||||
@ -743,7 +744,11 @@ extern const struct xattr_handler *ceph_xattr_handlers[];
|
||||
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 *);
|
||||
void ceph_forget_all_cached_acls(struct inode *inode);
|
||||
|
||||
static inline void ceph_forget_all_cached_acls(struct inode *inode)
|
||||
{
|
||||
forget_all_cached_acls(inode);
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user