X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fntfs%2Finode.h;h=3de5c0231966708c0ae8346dcf24795ecf761c8d;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=f088291e017caa377ad8174a8aaf57af0d28ff26;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/fs/ntfs/inode.h b/fs/ntfs/inode.h index f088291e0..3de5c0231 100644 --- a/fs/ntfs/inode.h +++ b/fs/ntfs/inode.h @@ -24,13 +24,12 @@ #ifndef _LINUX_NTFS_INODE_H #define _LINUX_NTFS_INODE_H -#include - -#include -#include #include -#include +#include #include +#include +#include +#include #include "layout.h" #include "volume.h" @@ -82,7 +81,7 @@ struct _ntfs_inode { * The following fields are only valid for real inodes and extent * inodes. */ - struct mutex mrec_lock; /* Lock for serializing access to the + struct semaphore mrec_lock; /* Lock for serializing access to the mft record belonging to this inode. */ struct page *page; /* The page containing the mft record of the inode. This should only be touched by the @@ -120,7 +119,7 @@ struct _ntfs_inode { u8 block_clusters; /* Number of clusters per cb. */ } compressed; } itype; - struct mutex extent_lock; /* Lock for accessing/modifying the + struct semaphore extent_lock; /* Lock for accessing/modifying the below . */ s32 nr_extents; /* For a base mft record, the number of attached extent inodes (0 if none), for extent records and for fake