Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ocfs2: remove unused declaration in header file

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>

authored by

Zhang Zekun and committed by
Andrew Morton
cedcf08f 59b723cd

-1
-1
fs/ocfs2/quota.h
··· 97 97 const char *data, size_t len, loff_t off); 98 98 int ocfs2_global_read_info(struct super_block *sb, int type); 99 99 int ocfs2_global_write_info(struct super_block *sb, int type); 100 - int ocfs2_global_read_dquot(struct dquot *dquot); 101 100 int __ocfs2_sync_dquot(struct dquot *dquot, int freeing); 102 101 static inline int ocfs2_sync_dquot(struct dquot *dquot) 103 102 {