diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-10-13 22:51:24 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 10:33:32 -0500 |
commit | 629a21e7ecedf779c68dcaa9a186069f57a7c652 (patch) | |
tree | aff577cb9d1d3cf42ddb16f4552411d08e5cdc51 /fs/gfs2/ondisk.c | |
parent | 1e81c4c3e0f55c95b6278a827262b80debd0dc7e (diff) |
[GFS2] split and annotate gfs2_inum
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ondisk.c')
-rw-r--r-- | fs/gfs2/ondisk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/ondisk.c b/fs/gfs2/ondisk.c index c4e099d582f7..32f592f4a3c0 100644 --- a/fs/gfs2/ondisk.c +++ b/fs/gfs2/ondisk.c | |||
@@ -32,7 +32,7 @@ | |||
32 | * first arg: the cpu-order structure | 32 | * first arg: the cpu-order structure |
33 | */ | 33 | */ |
34 | 34 | ||
35 | void gfs2_inum_in(struct gfs2_inum *no, const void *buf) | 35 | void gfs2_inum_in(struct gfs2_inum_host *no, const void *buf) |
36 | { | 36 | { |
37 | const struct gfs2_inum *str = buf; | 37 | const struct gfs2_inum *str = buf; |
38 | 38 | ||
@@ -40,7 +40,7 @@ void gfs2_inum_in(struct gfs2_inum *no, const void *buf) | |||
40 | no->no_addr = be64_to_cpu(str->no_addr); | 40 | no->no_addr = be64_to_cpu(str->no_addr); |
41 | } | 41 | } |
42 | 42 | ||
43 | void gfs2_inum_out(const struct gfs2_inum *no, void *buf) | 43 | void gfs2_inum_out(const struct gfs2_inum_host *no, void *buf) |
44 | { | 44 | { |
45 | struct gfs2_inum *str = buf; | 45 | struct gfs2_inum *str = buf; |
46 | 46 | ||
@@ -48,7 +48,7 @@ void gfs2_inum_out(const struct gfs2_inum *no, void *buf) | |||
48 | str->no_addr = cpu_to_be64(no->no_addr); | 48 | str->no_addr = cpu_to_be64(no->no_addr); |
49 | } | 49 | } |
50 | 50 | ||
51 | static void gfs2_inum_print(const struct gfs2_inum *no) | 51 | static void gfs2_inum_print(const struct gfs2_inum_host *no) |
52 | { | 52 | { |
53 | printk(KERN_INFO " no_formal_ino = %llu\n", (unsigned long long)no->no_formal_ino); | 53 | printk(KERN_INFO " no_formal_ino = %llu\n", (unsigned long long)no->no_formal_ino); |
54 | printk(KERN_INFO " no_addr = %llu\n", (unsigned long long)no->no_addr); | 54 | printk(KERN_INFO " no_addr = %llu\n", (unsigned long long)no->no_addr); |