Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43258
b: refs/heads/master
c: b62f963
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Steven Whitehouse committed Nov 30, 2006
1 parent af847c9 commit 2e10ac4
Show file tree
Hide file tree
Showing 4 changed files with 10 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: bd209cc017f231e8536550bdab1bf5da93c32798
refs/heads/master: b62f963e1fdf838fed91faec21228d421a834f2d
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/ondisk.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ void gfs2_statfs_change_out(const struct gfs2_statfs_change_host *sc, void *buf)
str->sc_dinodes = cpu_to_be64(sc->sc_dinodes);
}

void gfs2_quota_change_in(struct gfs2_quota_change *qc, const void *buf)
void gfs2_quota_change_in(struct gfs2_quota_change_host *qc, const void *buf)
{
const struct gfs2_quota_change *str = buf;

Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/quota.c
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ int gfs2_quota_init(struct gfs2_sbd *sdp)

for (y = 0; y < sdp->sd_qc_per_block && slot < sdp->sd_quota_slots;
y++, slot++) {
struct gfs2_quota_change qc;
struct gfs2_quota_change_host qc;
struct gfs2_quota_data *qd;

gfs2_quota_change_in(&qc, bh->b_data +
Expand Down
8 changes: 7 additions & 1 deletion trunk/include/linux/gfs2_ondisk.h
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,12 @@ struct gfs2_quota_change {
__be32 qc_id;
};

struct gfs2_quota_change_host {
__u64 qc_change;
__u32 qc_flags; /* GFS2_QCF_... */
__u32 qc_id;
};

#ifdef __KERNEL__
/* Translation functions */

Expand All @@ -537,7 +543,7 @@ extern void gfs2_inum_range_in(struct gfs2_inum_range_host *ir, const void *buf)
extern void gfs2_inum_range_out(const struct gfs2_inum_range_host *ir, void *buf);
extern void gfs2_statfs_change_in(struct gfs2_statfs_change_host *sc, const void *buf);
extern void gfs2_statfs_change_out(const struct gfs2_statfs_change_host *sc, void *buf);
extern void gfs2_quota_change_in(struct gfs2_quota_change *qc, const void *buf);
extern void gfs2_quota_change_in(struct gfs2_quota_change_host *qc, const void *buf);

/* Printing functions */

Expand Down

0 comments on commit 2e10ac4

Please sign in to comment.