diff options
Diffstat (limited to 'fs/hfsplus/inode.c')
-rw-r--r-- | fs/hfsplus/inode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c index 924ecdef8091..0eb1a6092668 100644 --- a/fs/hfsplus/inode.c +++ b/fs/hfsplus/inode.c | |||
@@ -304,7 +304,6 @@ struct inode *hfsplus_new_inode(struct super_block *sb, int mode) | |||
304 | inode->i_gid = current->fsgid; | 304 | inode->i_gid = current->fsgid; |
305 | inode->i_nlink = 1; | 305 | inode->i_nlink = 1; |
306 | inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME_SEC; | 306 | inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME_SEC; |
307 | inode->i_blksize = HFSPLUS_SB(sb).alloc_blksz; | ||
308 | INIT_LIST_HEAD(&HFSPLUS_I(inode).open_dir_list); | 307 | INIT_LIST_HEAD(&HFSPLUS_I(inode).open_dir_list); |
309 | init_MUTEX(&HFSPLUS_I(inode).extents_lock); | 308 | init_MUTEX(&HFSPLUS_I(inode).extents_lock); |
310 | atomic_set(&HFSPLUS_I(inode).opencnt, 0); | 309 | atomic_set(&HFSPLUS_I(inode).opencnt, 0); |
@@ -407,7 +406,6 @@ int hfsplus_cat_read_inode(struct inode *inode, struct hfs_find_data *fd) | |||
407 | type = hfs_bnode_read_u16(fd->bnode, fd->entryoffset); | 406 | type = hfs_bnode_read_u16(fd->bnode, fd->entryoffset); |
408 | 407 | ||
409 | HFSPLUS_I(inode).dev = 0; | 408 | HFSPLUS_I(inode).dev = 0; |
410 | inode->i_blksize = HFSPLUS_SB(inode->i_sb).alloc_blksz; | ||
411 | if (type == HFSPLUS_FOLDER) { | 409 | if (type == HFSPLUS_FOLDER) { |
412 | struct hfsplus_cat_folder *folder = &entry.folder; | 410 | struct hfsplus_cat_folder *folder = &entry.folder; |
413 | 411 | ||