提交 66bb8279 编写于 作者: A Amerigo Wang 提交者: Theodore Ts'o

ext4: remove redundant #ifdef in super.c

There is already an #ifdef CONFIG_QUOTA some lines above,
so this one is totally useless.
Signed-off-by: NWANG Cong <amwang@redhat.com>
Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
上级 55ff3840
...@@ -1203,9 +1203,7 @@ static ssize_t ext4_quota_write(struct super_block *sb, int type, ...@@ -1203,9 +1203,7 @@ static ssize_t ext4_quota_write(struct super_block *sb, int type,
const char *data, size_t len, loff_t off); const char *data, size_t len, loff_t off);
static const struct dquot_operations ext4_quota_operations = { static const struct dquot_operations ext4_quota_operations = {
#ifdef CONFIG_QUOTA
.get_reserved_space = ext4_get_reserved_space, .get_reserved_space = ext4_get_reserved_space,
#endif
.write_dquot = ext4_write_dquot, .write_dquot = ext4_write_dquot,
.acquire_dquot = ext4_acquire_dquot, .acquire_dquot = ext4_acquire_dquot,
.release_dquot = ext4_release_dquot, .release_dquot = ext4_release_dquot,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册