ceph: Remove empty definition in header file
authorZhang Zekun <zhangzekun11@huawei.com>
Fri, 6 Sep 2024 06:01:34 +0000 (14:01 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 24 Sep 2024 20:51:33 +0000 (22:51 +0200)
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 <zhangzekun11@huawei.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/super.h

index 0020746622fd00b90fbcb10ea63204d4e3a6cc74..2508aa8950b7325ca578de00fe87b87a243aef84 100644 (file)
@@ -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)
 {