projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3bba03
)
[PATCH] patch to init di_payload_format field in gfs2_dinode
author
Abhijith Das
<adas@redhat.com>
Mon, 10 Jul 2006 17:36:12 +0000
(12:36 -0500)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Tue, 11 Jul 2006 13:54:17 +0000
(09:54 -0400)
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>
fs/gfs2/inode.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/inode.c
b/fs/gfs2/inode.c
index
22ca3b5
..
e76f345
100644
(file)
--- 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;