diff options
Diffstat (limited to 'fs/gfs2/ondisk.c')
-rw-r--r-- | fs/gfs2/ondisk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/ondisk.c b/fs/gfs2/ondisk.c index 82003e872a3..b2baba5c50b 100644 --- a/fs/gfs2/ondisk.c +++ b/fs/gfs2/ondisk.c | |||
@@ -176,9 +176,10 @@ void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf) | |||
176 | str->di_generation = cpu_to_be64(di->di_generation); | 176 | str->di_generation = cpu_to_be64(di->di_generation); |
177 | 177 | ||
178 | str->di_flags = cpu_to_be32(di->di_flags); | 178 | str->di_flags = cpu_to_be32(di->di_flags); |
179 | str->di_payload_format = cpu_to_be32(di->di_payload_format); | ||
180 | str->di_height = cpu_to_be16(di->di_height); | 179 | str->di_height = cpu_to_be16(di->di_height); |
181 | 180 | str->di_payload_format = cpu_to_be32(S_ISDIR(ip->i_inode.i_mode) && | |
181 | !(ip->i_di.di_flags & GFS2_DIF_EXHASH) ? | ||
182 | GFS2_FORMAT_DE : 0); | ||
182 | str->di_depth = cpu_to_be16(di->di_depth); | 183 | str->di_depth = cpu_to_be16(di->di_depth); |
183 | str->di_entries = cpu_to_be32(di->di_entries); | 184 | str->di_entries = cpu_to_be32(di->di_entries); |
184 | 185 | ||
@@ -197,7 +198,6 @@ void gfs2_dinode_print(const struct gfs2_inode *ip) | |||
197 | printk(KERN_INFO " di_goal_data = %llu\n", (unsigned long long)di->di_goal_data); | 198 | printk(KERN_INFO " di_goal_data = %llu\n", (unsigned long long)di->di_goal_data); |
198 | 199 | ||
199 | pv(di, di_flags, "0x%.8X"); | 200 | pv(di, di_flags, "0x%.8X"); |
200 | pv(di, di_payload_format, "%u"); | ||
201 | pv(di, di_height, "%u"); | 201 | pv(di, di_height, "%u"); |
202 | 202 | ||
203 | pv(di, di_depth, "%u"); | 203 | pv(di, di_depth, "%u"); |