| From: Zhang Zekun <zhangzekun11@huawei.com> |
| Subject: ocfs2: remove unused declaration in header file |
| Date: Fri, 6 Sep 2024 13:57:42 +0800 |
| |
| The definition of ocfs2_global_read_dquot() has been removed since commit |
| fb8dd8d78014 ("ocfs2: Fix quota locking"). Let's remove the empty |
| declartion |
| |
| Link: https://lkml.kernel.org/r/20240906055742.105024-1-zhangzekun11@huawei.com |
| Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com> |
| Cc: Mark Fasheh <mark@fasheh.com> |
| Cc: Joel Becker <jlbec@evilplan.org> |
| Cc: Junxiao Bi <junxiao.bi@oracle.com> |
| Cc: Joseph Qi <jiangqi903@gmail.com> |
| Cc: Changwei Ge <gechangwei@live.cn> |
| Cc: Jun Piao <piaojun@huawei.com> |
| Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
| --- |
| |
| fs/ocfs2/quota.h | 1 - |
| 1 file changed, 1 deletion(-) |
| |
| --- a/fs/ocfs2/quota.h~ocfs2-remove-unused-declartion-in-header-file |
| +++ a/fs/ocfs2/quota.h |
| @@ -97,7 +97,6 @@ ssize_t ocfs2_quota_write(struct super_b |
| const char *data, size_t len, loff_t off); |
| int ocfs2_global_read_info(struct super_block *sb, int type); |
| int ocfs2_global_write_info(struct super_block *sb, int type); |
| -int ocfs2_global_read_dquot(struct dquot *dquot); |
| int __ocfs2_sync_dquot(struct dquot *dquot, int freeing); |
| static inline int ocfs2_sync_dquot(struct dquot *dquot) |
| { |
| _ |