aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Zekun <[email protected]>2024-09-06 14:01:34 +0800
committerIlya Dryomov <[email protected]>2024-09-24 22:51:33 +0200
commit74249188f31827cf1eeeee8e06474c2fbe2fc1d2 (patch)
tree049627f2b79a66d7c749825bac19edbc832d10fe
parent0039aebfe87129fae1e3567cb6de7a99dbb3ba28 (diff)
ceph: Remove empty definition in header file
The real definition of ceph_acl_chmod() has been removed since commit 4db658ea0ca2 ("ceph: Fix up after semantic merge conflict"), remain the empty definition untouched in the header files. Let's remove the empty definition. Signed-off-by: Zhang Zekun <[email protected]> Reviewed-by: Xiubo Li <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
-rw-r--r--fs/ceph/super.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index 0020746622fd..2508aa8950b7 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -1206,10 +1206,6 @@ static inline void ceph_init_inode_acls(struct inode *inode,
struct ceph_acl_sec_ctx *as_ctx)
{
}
-static inline int ceph_acl_chmod(struct dentry *dentry, struct inode *inode)
-{
- return 0;
-}
static inline void ceph_forget_all_cached_acls(struct inode *inode)
{