diff options
author | James Simmons <jsimmons@infradead.org> | 2018-05-29 10:21:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-31 18:55:36 +0200 |
commit | 409389254f6af62a0401ebd008b018fa6c206267 (patch) | |
tree | 536d71daf3835458ff383dfbbe1f1b435e44b353 /drivers/staging/lustre/lustre/llite/llite_internal.h | |
parent | 7a5abc3d9699c88781ae12cf957a8c49f9bbb494 (diff) | |
download | op-kernel-dev-409389254f6af62a0401ebd008b018fa6c206267.zip op-kernel-dev-409389254f6af62a0401ebd008b018fa6c206267.tar.gz |
staging: lustre: llite: create acl.c file
Move ll_get_acl() to its own file acl.c just like all the other
linux file systems do.
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6142
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/llite/llite_internal.h')
-rw-r--r-- | drivers/staging/lustre/lustre/llite/llite_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lustre/llite/llite_internal.h b/drivers/staging/lustre/lustre/llite/llite_internal.h index 379d88e..bdb1564 100644 --- a/drivers/staging/lustre/lustre/llite/llite_internal.h +++ b/drivers/staging/lustre/lustre/llite/llite_internal.h @@ -754,7 +754,12 @@ int ll_release_openhandle(struct inode *inode, struct lookup_intent *it); int ll_md_real_close(struct inode *inode, fmode_t fmode); int ll_getattr(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int flags); +#ifdef CONFIG_FS_POSIX_ACL struct posix_acl *ll_get_acl(struct inode *inode, int type); +#else +#define ll_get_acl NULL +#endif /* CONFIG_FS_POSIX_ACL */ + int ll_migrate(struct inode *parent, struct file *file, int mdtidx, const char *name, int namelen); int ll_get_fid_by_name(struct inode *parent, const char *name, |