diff options
author | Aneesh Kumar K.V | 2011-10-12 17:29:18 +0200 |
---|---|---|
committer | Aneesh Kumar K.V | 2011-10-15 12:00:27 +0200 |
commit | c98f1d4a8bb6f779313043d2490093451cf52065 (patch) | |
tree | 8d3f2ad4619bac60cea15c1bc1e28b73011dcd97 /fsdev | |
parent | hw/9pfs: Use fs driver specific lstat (diff) | |
download | qemu-c98f1d4a8bb6f779313043d2490093451cf52065.tar.gz qemu-c98f1d4a8bb6f779313043d2490093451cf52065.tar.xz qemu-c98f1d4a8bb6f779313043d2490093451cf52065.zip |
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.h | 7 |
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; |