diff options
-rw-r--r-- | fs/gfs2/ondisk.c | 2 | ||||
-rw-r--r-- | fs/gfs2/quota.c | 2 | ||||
-rw-r--r-- | include/linux/gfs2_ondisk.h | 8 |
3 files changed, 9 insertions, 3 deletions
diff --git a/fs/gfs2/ondisk.c b/fs/gfs2/ondisk.c index 84c59b165b63..2d1682ded4b7 100644 --- a/fs/gfs2/ondisk.c +++ b/fs/gfs2/ondisk.c | |||
@@ -297,7 +297,7 @@ void gfs2_statfs_change_out(const struct gfs2_statfs_change_host *sc, void *buf) | |||
297 | str->sc_dinodes = cpu_to_be64(sc->sc_dinodes); | 297 | str->sc_dinodes = cpu_to_be64(sc->sc_dinodes); |
298 | } | 298 | } |
299 | 299 | ||
300 | void gfs2_quota_change_in(struct gfs2_quota_change *qc, const void *buf) | 300 | void gfs2_quota_change_in(struct gfs2_quota_change_host *qc, const void *buf) |
301 | { | 301 | { |
302 | const struct gfs2_quota_change *str = buf; | 302 | const struct gfs2_quota_change *str = buf; |
303 | 303 | ||
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index e3f5b8da484c..009d86c0008f 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c | |||
@@ -1103,7 +1103,7 @@ int gfs2_quota_init(struct gfs2_sbd *sdp) | |||
1103 | 1103 | ||
1104 | for (y = 0; y < sdp->sd_qc_per_block && slot < sdp->sd_quota_slots; | 1104 | for (y = 0; y < sdp->sd_qc_per_block && slot < sdp->sd_quota_slots; |
1105 | y++, slot++) { | 1105 | y++, slot++) { |
1106 | struct gfs2_quota_change qc; | 1106 | struct gfs2_quota_change_host qc; |
1107 | struct gfs2_quota_data *qd; | 1107 | struct gfs2_quota_data *qd; |
1108 | 1108 | ||
1109 | gfs2_quota_change_in(&qc, bh->b_data + | 1109 | gfs2_quota_change_in(&qc, bh->b_data + |
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h index 3ce3a47b720a..10a507dfd834 100644 --- a/include/linux/gfs2_ondisk.h +++ b/include/linux/gfs2_ondisk.h | |||
@@ -517,6 +517,12 @@ struct gfs2_quota_change { | |||
517 | __be32 qc_id; | 517 | __be32 qc_id; |
518 | }; | 518 | }; |
519 | 519 | ||
520 | struct gfs2_quota_change_host { | ||
521 | __u64 qc_change; | ||
522 | __u32 qc_flags; /* GFS2_QCF_... */ | ||
523 | __u32 qc_id; | ||
524 | }; | ||
525 | |||
520 | #ifdef __KERNEL__ | 526 | #ifdef __KERNEL__ |
521 | /* Translation functions */ | 527 | /* Translation functions */ |
522 | 528 | ||
@@ -537,7 +543,7 @@ extern void gfs2_inum_range_in(struct gfs2_inum_range_host *ir, const void *buf) | |||
537 | extern void gfs2_inum_range_out(const struct gfs2_inum_range_host *ir, void *buf); | 543 | extern void gfs2_inum_range_out(const struct gfs2_inum_range_host *ir, void *buf); |
538 | extern void gfs2_statfs_change_in(struct gfs2_statfs_change_host *sc, const void *buf); | 544 | extern void gfs2_statfs_change_in(struct gfs2_statfs_change_host *sc, const void *buf); |
539 | extern void gfs2_statfs_change_out(const struct gfs2_statfs_change_host *sc, void *buf); | 545 | extern void gfs2_statfs_change_out(const struct gfs2_statfs_change_host *sc, void *buf); |
540 | extern void gfs2_quota_change_in(struct gfs2_quota_change *qc, const void *buf); | 546 | extern void gfs2_quota_change_in(struct gfs2_quota_change_host *qc, const void *buf); |
541 | 547 | ||
542 | /* Printing functions */ | 548 | /* Printing functions */ |
543 | 549 | ||