diff options
Diffstat (limited to 'fs/gfs2/dir.c')
-rw-r--r-- | fs/gfs2/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c index 459498cac93b..d43caf04bb68 100644 --- a/fs/gfs2/dir.c +++ b/fs/gfs2/dir.c | |||
@@ -815,7 +815,7 @@ static struct gfs2_leaf *new_leaf(struct inode *inode, struct buffer_head **pbh, | |||
815 | leaf = (struct gfs2_leaf *)bh->b_data; | 815 | leaf = (struct gfs2_leaf *)bh->b_data; |
816 | leaf->lf_depth = cpu_to_be16(depth); | 816 | leaf->lf_depth = cpu_to_be16(depth); |
817 | leaf->lf_entries = 0; | 817 | leaf->lf_entries = 0; |
818 | leaf->lf_dirent_format = cpu_to_be16(GFS2_FORMAT_DE); | 818 | leaf->lf_dirent_format = cpu_to_be32(GFS2_FORMAT_DE); |
819 | leaf->lf_next = 0; | 819 | leaf->lf_next = 0; |
820 | memset(leaf->lf_reserved, 0, sizeof(leaf->lf_reserved)); | 820 | memset(leaf->lf_reserved, 0, sizeof(leaf->lf_reserved)); |
821 | dent = (struct gfs2_dirent *)(leaf+1); | 821 | dent = (struct gfs2_dirent *)(leaf+1); |