aboutsummaryrefslogtreecommitdiff
path: root/fsdev
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-10-12 20:59:18 +0530
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-10-15 15:30:27 +0530
commitc98f1d4a8bb6f779313043d2490093451cf52065 (patch)
tree8d3f2ad4619bac60cea15c1bc1e28b73011dcd97 /fsdev
parent7cca27dfde6435a7846d88e8a1fa927d0ab99919 (diff)
hw/9pfs: Use export_flag for indicating whether fs driver use path names.
This allows us to remove another member from the struct Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'fsdev')
-rw-r--r--fsdev/file-op-9p.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/fsdev/file-op-9p.h b/fsdev/file-op-9p.h
index d6705c03a1..272f018efb 100644
--- a/fsdev/file-op-9p.h
+++ b/fsdev/file-op-9p.h
@@ -57,15 +57,12 @@ typedef struct extended_ops {
mode_t, uint64_t *);
} extended_ops;
-/* FsContext flag values */
-#define PATHNAME_FSCONTEXT 0x1
-
/* export flags */
-#define V9FS_IMMEDIATE_WRITEOUT 0x1
+#define V9FS_IMMEDIATE_WRITEOUT 0x00000001
+#define V9FS_PATHNAME_FSCONTEXT 0x00000002
typedef struct FsContext
{
- int flags;
char *fs_root;
SecModel fs_sm;
uid_t uid;