Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2a580d8 authored by Abhijith Das's avatar Abhijith Das Committed by Steven Whitehouse
Browse files

[PATCH] patch to init di_payload_format field in gfs2_dinode



A missing initialisation when creating a new on disk inode.

Signed-off-by: default avatarAbhijith Das <adas@redhat.com>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent f3bba03f
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -696,6 +696,7 @@ static void init_dinode(struct gfs2_inode *dip, struct gfs2_glock *gl,
	}
	}


	di->__pad1 = 0;
	di->__pad1 = 0;
	di->di_payload_format = cpu_to_be32(0);
	di->di_height = cpu_to_be32(0);
	di->di_height = cpu_to_be32(0);
	di->__pad2 = 0;
	di->__pad2 = 0;
	di->__pad3 = 0;
	di->__pad3 = 0;