diff options
Diffstat (limited to 'fs/gfs2/quota.c')
-rw-r--r-- | fs/gfs2/quota.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index 20762ae2a9c4..47315c091a09 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c | |||
@@ -1177,13 +1177,14 @@ static int gfs2_quota_sync_timeo(struct super_block *sb, int type) | |||
1177 | return gfs2_quota_sync(sb, type); | 1177 | return gfs2_quota_sync(sb, type); |
1178 | } | 1178 | } |
1179 | 1179 | ||
1180 | int gfs2_quota_refresh(struct gfs2_sbd *sdp, int user, u32 id) | 1180 | int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid) |
1181 | { | 1181 | { |
1182 | struct gfs2_quota_data *qd; | 1182 | struct gfs2_quota_data *qd; |
1183 | struct gfs2_holder q_gh; | 1183 | struct gfs2_holder q_gh; |
1184 | int error; | 1184 | int error; |
1185 | 1185 | ||
1186 | error = qd_get(sdp, user, id, &qd); | 1186 | error = qd_get(sdp, qid.type == USRQUOTA ? QUOTA_USER : QUOTA_GROUP, |
1187 | from_kqid(&init_user_ns, qid), &qd); | ||
1187 | if (error) | 1188 | if (error) |
1188 | return error; | 1189 | return error; |
1189 | 1190 | ||