aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/catalog.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hfsplus/catalog.c')
-rw-r--r--fs/hfsplus/catalog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/hfsplus/catalog.c b/fs/hfsplus/catalog.c
index 04255af34709..04058c8096d1 100644
--- a/fs/hfsplus/catalog.c
+++ b/fs/hfsplus/catalog.c
@@ -127,6 +127,7 @@ static int hfsplus_cat_build_record(hfsplus_cat_entry *entry, u32 cnid, struct i
127 file->user_info.fdType = cpu_to_be32(HFSP_HARDLINK_TYPE); 127 file->user_info.fdType = cpu_to_be32(HFSP_HARDLINK_TYPE);
128 file->user_info.fdCreator = cpu_to_be32(HFSP_HFSPLUS_CREATOR); 128 file->user_info.fdCreator = cpu_to_be32(HFSP_HFSPLUS_CREATOR);
129 file->user_info.fdFlags = cpu_to_be16(0x100); 129 file->user_info.fdFlags = cpu_to_be16(0x100);
130 file->create_date = HFSPLUS_I(HFSPLUS_SB(inode->i_sb).hidden_dir).create_date;
130 file->permissions.dev = cpu_to_be32(HFSPLUS_I(inode).dev); 131 file->permissions.dev = cpu_to_be32(HFSPLUS_I(inode).dev);
131 } 132 }
132 return sizeof(*file); 133 return sizeof(*file);