On Thu, Nov 02, 2006 at 06:45:56AM +0300, Alexey Dobriyan wrote: > Harmless, but needed for endian-clean GFS2. > > Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> > --- > > 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); you are allowed to directly assign 0 to __be* variables. - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html