diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/gfs2_ondisk.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h index 8b7e4c1e32ae..a82ec8c62eff 100644 --- a/include/linux/gfs2_ondisk.h +++ b/include/linux/gfs2_ondisk.h | |||
@@ -59,13 +59,6 @@ struct gfs2_inum_host { | |||
59 | __u64 no_addr; | 59 | __u64 no_addr; |
60 | }; | 60 | }; |
61 | 61 | ||
62 | static inline int gfs2_inum_equal(const struct gfs2_inum_host *ino1, | ||
63 | const struct gfs2_inum_host *ino2) | ||
64 | { | ||
65 | return ino1->no_formal_ino == ino2->no_formal_ino && | ||
66 | ino1->no_addr == ino2->no_addr; | ||
67 | } | ||
68 | |||
69 | /* | 62 | /* |
70 | * Generic metadata head structure | 63 | * Generic metadata head structure |
71 | * Every inplace buffer logged in the journal must start with this. | 64 | * Every inplace buffer logged in the journal must start with this. |
@@ -509,9 +502,9 @@ struct gfs2_quota_change_host { | |||
509 | 502 | ||
510 | #ifdef __KERNEL__ | 503 | #ifdef __KERNEL__ |
511 | /* Translation functions */ | 504 | /* Translation functions */ |
505 | struct gfs2_inode; | ||
512 | 506 | ||
513 | extern void gfs2_inum_in(struct gfs2_inum_host *no, const void *buf); | 507 | extern void gfs2_inum_out(const struct gfs2_inode *ip, struct gfs2_dirent *dent); |
514 | extern void gfs2_inum_out(const struct gfs2_inum_host *no, void *buf); | ||
515 | extern void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf); | 508 | extern void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf); |
516 | extern void gfs2_rindex_in(struct gfs2_rindex_host *ri, const void *buf); | 509 | extern void gfs2_rindex_in(struct gfs2_rindex_host *ri, const void *buf); |
517 | extern void gfs2_rindex_out(const struct gfs2_rindex_host *ri, void *buf); | 510 | extern void gfs2_rindex_out(const struct gfs2_rindex_host *ri, void *buf); |