diff options
Diffstat (limited to 'fs/ntfs/inode.c')
-rw-r--r-- | fs/ntfs/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ntfs/inode.c b/fs/ntfs/inode.c index 31840ba0b38c..a02d8d9f0439 100644 --- a/fs/ntfs/inode.c +++ b/fs/ntfs/inode.c | |||
@@ -376,6 +376,7 @@ static void ntfs_destroy_extent_inode(ntfs_inode *ni) | |||
376 | void __ntfs_init_inode(struct super_block *sb, ntfs_inode *ni) | 376 | void __ntfs_init_inode(struct super_block *sb, ntfs_inode *ni) |
377 | { | 377 | { |
378 | ntfs_debug("Entering."); | 378 | ntfs_debug("Entering."); |
379 | rwlock_init(&ni->size_lock); | ||
379 | ni->initialized_size = ni->allocated_size = 0; | 380 | ni->initialized_size = ni->allocated_size = 0; |
380 | ni->seq_no = 0; | 381 | ni->seq_no = 0; |
381 | atomic_set(&ni->count, 1); | 382 | atomic_set(&ni->count, 1); |