diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2016-02-19 13:19:01 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2016-02-19 13:28:07 -0500 |
commit | 6332b9b5e79769b3e9d79d664896b872d7ba6a66 (patch) | |
tree | e2d3af10d5cef99dc35aea99b160f37da0295537 | |
parent | ccf370e43e08cab4f8f13464c02c9aeffd8f0cd6 (diff) |
ext4: Make Q_GETNEXTQUOTA work for quota in hidden inodes
We forgot to set .get_nextdqblk operation in quotactl_ops structure used
by ext4 when quota is using hidden inode thus the operation was not
really supported. Fix the omission.
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Jan Kara <jack@suse.cz>
-rw-r--r-- | fs/ext4/super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index b5bcbddceb91..2ed6596feadf 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -1142,7 +1142,8 @@ static const struct quotactl_ops ext4_qctl_operations = { | |||
1142 | .get_state = dquot_get_state, | 1142 | .get_state = dquot_get_state, |
1143 | .set_info = dquot_set_dqinfo, | 1143 | .set_info = dquot_set_dqinfo, |
1144 | .get_dqblk = dquot_get_dqblk, | 1144 | .get_dqblk = dquot_get_dqblk, |
1145 | .set_dqblk = dquot_set_dqblk | 1145 | .set_dqblk = dquot_set_dqblk, |
1146 | .get_nextdqblk = dquot_get_next_dqblk, | ||
1146 | }; | 1147 | }; |
1147 | #endif | 1148 | #endif |
1148 | 1149 | ||