Changes by: antona
Update of /cvsroot/linux-ntfs/ntfsprogs/include/ntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30178/include/ntfs
Modified Files:
device.h
Log Message:
Fixes to previous commit.
Index: device.h
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/include/ntfs/device.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- device.h 3 Feb 2006 22:19:18 -0000 1.12
+++ device.h 3 Feb 2006 23:11:35 -0000 1.13
@@ -40,6 +40,7 @@ typedef enum {
ND_Open, /* 1: Device is open. */
ND_ReadOnly, /* 1: Device is read-only. */
ND_Dirty, /* 1: Device is dirty, needs sync. */
+ ND_Block, /* 1: Device is a block device. */
} ntfs_device_state_bits;
#define test_ndev_flag(nd, flag) test_bit(ND_##flag, (nd)->d_state)
@@ -58,6 +59,10 @@ typedef enum {
#define NDevSetDirty(nd) set_ndev_flag(nd, Dirty)
#define NDevClearDirty(nd) clear_ndev_flag(nd, Dirty)
+#define NDevBlock(nd) test_ndev_flag(nd, Block)
+#define NDevSetBlock(nd) set_ndev_flag(nd, Block)
+#define NDevClearBlock(nd) clear_ndev_flag(nd, Block)
+
/**
* struct ntfs_device -
*
|