Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292378
b: refs/heads/master
c: f392238
h: refs/heads/master
v: v3
  • Loading branch information
Matthew Garrett authored and Al Viro committed Mar 21, 2012
1 parent e06b9fa commit c2dc37e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7cd916f6ea86e8538b1e8136847dfb941813fe94
refs/heads/master: f3922382ce930e76773fb06416a7a6081a8702ad
2 changes: 2 additions & 0 deletions trunk/fs/hfsplus/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ static struct dentry *hfsplus_file_lookup(struct inode *dir,
mutex_init(&hip->extents_lock);
hip->extent_state = 0;
hip->flags = 0;
hip->userflags = 0;
set_bit(HFSPLUS_I_RSRC, &hip->flags);

err = hfs_find_init(HFSPLUS_SB(sb)->cat_tree, &fd);
Expand Down Expand Up @@ -400,6 +401,7 @@ struct inode *hfsplus_new_inode(struct super_block *sb, umode_t mode)
atomic_set(&hip->opencnt, 0);
hip->extent_state = 0;
hip->flags = 0;
hip->userflags = 0;
memset(hip->first_extents, 0, sizeof(hfsplus_extent_rec));
memset(hip->cached_extents, 0, sizeof(hfsplus_extent_rec));
hip->alloc_blocks = 0;
Expand Down

0 comments on commit c2dc37e

Please sign in to comment.