From b2a580d87b33816aa9b50268f70666368e12f7df Mon Sep 17 00:00:00 2001 From: Abhijith Das Date: Mon, 10 Jul 2006 12:36:12 -0500 Subject: [PATCH] patch to init di_payload_format field in gfs2_dinode A missing initialisation when creating a new on disk inode. Signed-off-by: Abhijith Das Signed-off-by: Steven Whitehouse --- fs/gfs2/inode.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/gfs2/inode.c') diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index 22ca3b5ddaea..e76f345517b7 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c @@ -696,6 +696,7 @@ static void init_dinode(struct gfs2_inode *dip, struct gfs2_glock *gl, } di->__pad1 = 0; + di->di_payload_format = cpu_to_be32(0); di->di_height = cpu_to_be32(0); di->__pad2 = 0; di->__pad3 = 0; -- cgit v1.2.2