aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ntfs/inode.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ntfs/inode.h')
-rw-r--r--fs/ntfs/inode.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/fs/ntfs/inode.h b/fs/ntfs/inode.h
index 3de5c0231966..f088291e017c 100644
--- a/fs/ntfs/inode.h
+++ b/fs/ntfs/inode.h
@@ -24,12 +24,13 @@
24#ifndef _LINUX_NTFS_INODE_H 24#ifndef _LINUX_NTFS_INODE_H
25#define _LINUX_NTFS_INODE_H 25#define _LINUX_NTFS_INODE_H
26 26
27#include <linux/mm.h> 27#include <asm/atomic.h>
28
28#include <linux/fs.h> 29#include <linux/fs.h>
29#include <linux/seq_file.h>
30#include <linux/list.h> 30#include <linux/list.h>
31#include <asm/atomic.h> 31#include <linux/mm.h>
32#include <asm/semaphore.h> 32#include <linux/mutex.h>
33#include <linux/seq_file.h>
33 34
34#include "layout.h" 35#include "layout.h"
35#include "volume.h" 36#include "volume.h"
@@ -81,7 +82,7 @@ struct _ntfs_inode {
81 * The following fields are only valid for real inodes and extent 82 * The following fields are only valid for real inodes and extent
82 * inodes. 83 * inodes.
83 */ 84 */
84 struct semaphore mrec_lock; /* Lock for serializing access to the 85 struct mutex mrec_lock; /* Lock for serializing access to the
85 mft record belonging to this inode. */ 86 mft record belonging to this inode. */
86 struct page *page; /* The page containing the mft record of the 87 struct page *page; /* The page containing the mft record of the
87 inode. This should only be touched by the 88 inode. This should only be touched by the
@@ -119,7 +120,7 @@ struct _ntfs_inode {
119 u8 block_clusters; /* Number of clusters per cb. */ 120 u8 block_clusters; /* Number of clusters per cb. */
120 } compressed; 121 } compressed;
121 } itype; 122 } itype;
122 struct semaphore extent_lock; /* Lock for accessing/modifying the 123 struct mutex extent_lock; /* Lock for accessing/modifying the
123 below . */ 124 below . */
124 s32 nr_extents; /* For a base mft record, the number of attached extent 125 s32 nr_extents; /* For a base mft record, the number of attached extent
125 inodes (0 if none), for extent records and for fake 126 inodes (0 if none), for extent records and for fake