Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357791
b: refs/heads/master
c: e08d8d7
h: refs/heads/master
i:
  357789: fc79b61
  357787: 672883d
  357783: 7efdda7
  357775: 9e6770c
  357759: 972f295
v: v3
  • Loading branch information
Eric W. Biederman committed Feb 13, 2013
1 parent f5fe7ee commit ffd30bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2f6c9896f71e6b6c1c565ea76dd9f5e89579c120
refs/heads/master: e08d8d7f201dc1e64f5d9d5aa2cd4f37aecaaab4
8 changes: 5 additions & 3 deletions trunk/fs/gfs2/quota.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
struct gfs2_quota_change_host {
u64 qc_change;
u32 qc_flags; /* GFS2_QCF_... */
u32 qc_id;
struct kqid qc_id;
};

static LIST_HEAD(qd_lru_list);
Expand Down Expand Up @@ -1200,7 +1200,9 @@ static void gfs2_quota_change_in(struct gfs2_quota_change_host *qc, const void *

qc->qc_change = be64_to_cpu(str->qc_change);
qc->qc_flags = be32_to_cpu(str->qc_flags);
qc->qc_id = be32_to_cpu(str->qc_id);
qc->qc_id = make_kqid(&init_user_ns,
(qc->qc_flags & GFS2_QCF_USER)?USRQUOTA:GRPQUOTA,
be32_to_cpu(str->qc_id));
}

int gfs2_quota_init(struct gfs2_sbd *sdp)
Expand Down Expand Up @@ -1264,7 +1266,7 @@ int gfs2_quota_init(struct gfs2_sbd *sdp)
continue;

error = qd_alloc(sdp, (qc.qc_flags & GFS2_QCF_USER),
qc.qc_id, &qd);
from_kqid(&init_user_ns, qc.qc_id), &qd);
if (error) {
brelse(bh);
goto fail;
Expand Down

0 comments on commit ffd30bc

Please sign in to comment.