linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] GFS2: incorrect di_height assignment
@ 2006-11-02  3:45 Alexey Dobriyan
  2006-11-02 10:59 ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Dobriyan @ 2006-11-02  3:45 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Steven Whitehouse, linux-fsdevel

Harmless, but needed for endian-clean GFS2.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 fs/gfs2/inode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -691,7 +691,7 @@ static void init_dinode(struct gfs2_inod
 
 	di->__pad1 = 0;
 	di->di_payload_format = cpu_to_be32(0);
-	di->di_height = cpu_to_be32(0);
+	di->di_height = cpu_to_be16(0);
 	di->__pad2 = 0;
 	di->__pad3 = 0;
 	di->di_depth = cpu_to_be16(0);


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-11-02 12:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-02  3:45 [PATCH] GFS2: incorrect di_height assignment Alexey Dobriyan
2006-11-02 10:59 ` Christoph Hellwig
2006-11-02 12:12   ` Steven Whitehouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).