Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
fs
/
nfsd
/
blocklayoutxdr.h
diff --git
a/kernel/fs/nfsd/blocklayoutxdr.h
b/kernel/fs/nfsd/blocklayoutxdr.h
index
fdc7903
..
6de925f
100644
(file)
--- a/
kernel/fs/nfsd/blocklayoutxdr.h
+++ b/
kernel/fs/nfsd/blocklayoutxdr.h
@@
-7,13
+7,6
@@
struct iomap;
struct xdr_stream;
struct iomap;
struct xdr_stream;
-enum pnfs_block_extent_state {
- PNFS_BLOCK_READWRITE_DATA = 0,
- PNFS_BLOCK_READ_DATA = 1,
- PNFS_BLOCK_INVALID_DATA = 2,
- PNFS_BLOCK_NONE_DATA = 3,
-};
-
struct pnfs_block_extent {
struct nfsd4_deviceid vol_id;
u64 foff;
struct pnfs_block_extent {
struct nfsd4_deviceid vol_id;
u64 foff;
@@
-21,14
+14,6
@@
struct pnfs_block_extent {
u64 soff;
enum pnfs_block_extent_state es;
};
u64 soff;
enum pnfs_block_extent_state es;
};
-#define NFS4_BLOCK_EXTENT_SIZE 44
-
-enum pnfs_block_volume_type {
- PNFS_BLOCK_VOLUME_SIMPLE = 0,
- PNFS_BLOCK_VOLUME_SLICE = 1,
- PNFS_BLOCK_VOLUME_CONCAT = 2,
- PNFS_BLOCK_VOLUME_STRIPE = 3,
-};
/*
* Random upper cap for the uuid length to avoid unbounded allocation.
/*
* Random upper cap for the uuid length to avoid unbounded allocation.