Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38719
b: refs/heads/master
c: 0d42e54
h: refs/heads/master
i:
  38717: a647943
  38715: 0e9d731
  38711: 52e068b
  38703: b265c85
  38687: 3b7ea54
  38655: 7b8362b
v: v3
  • Loading branch information
Steven Whitehouse committed Jun 20, 2006
1 parent f02a5b1 commit 6b1cf44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 0239c4ae8aa5cdee6dc3792effc2800d65292c04
refs/heads/master: 0d42e54220ba34e031167138ef91cbd42d8b5876
8 changes: 2 additions & 6 deletions trunk/fs/gfs2/quota.c
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,6 @@ static int do_sync(unsigned int num_qd, struct gfs2_quota_data **qda)
struct gfs2_sbd *sdp = (*qda)->qd_gl->gl_sbd;
struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode);
unsigned int data_blocks, ind_blocks;
struct file_ra_state ra_state;
struct gfs2_holder *ghs, i_gh;
unsigned int qx, x;
struct gfs2_quota_data *qd;
Expand Down Expand Up @@ -716,7 +715,6 @@ static int do_sync(unsigned int num_qd, struct gfs2_quota_data **qda)
goto out_gunlock;
}

file_ra_state_init(&ra_state, ip->i_inode.i_mapping);
for (x = 0; x < num_qd; x++) {
qd = qda[x];
offset = qd2offset(qd);
Expand Down Expand Up @@ -790,10 +788,8 @@ static int do_glock(struct gfs2_quota_data *qd, int force_refresh,

memset(buf, 0, sizeof(struct gfs2_quota));
pos = qd2offset(qd);
error = gfs2_internal_read(ip,
&ra_state, buf,
&pos,
sizeof(struct gfs2_quota));
error = gfs2_internal_read(ip, &ra_state, buf,
&pos, sizeof(struct gfs2_quota));
if (error < 0)
goto fail_gunlock;

Expand Down

0 comments on commit 6b1cf44

Please sign in to comment.