summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAbhijith Das <adas@redhat.com>2006-07-10 17:36:12 (GMT)
committerSteven Whitehouse <swhiteho@redhat.com>2006-07-11 13:54:17 (GMT)
commitb2a580d87b33816aa9b50268f70666368e12f7df (patch)
tree0a09c0fcc5bc6fa9d49fddc312745dacd1d952ac /fs
parentf3bba03fd16e25a262323293e5a07dea173c89f7 (diff)
downloadlinux-fsl-qoriq-b2a580d87b33816aa9b50268f70666368e12f7df.tar.xz
[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 <adas@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/gfs2/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index 22ca3b5..e76f345 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;