diff options
author | Evgeniy Polyakov | 2009-03-27 13:04:28 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2009-04-17 20:06:30 +0200 |
commit | f2739de19176009b14475207d5418cd79e7f0ba3 (patch) | |
tree | 5895a24190aed6b0a8499b4e8b68a67eb5d09ecb /drivers/staging/pohmelfs/netfs.h | |
parent | Staging: Pohmelfs: Drop ftrans debugging code. (diff) | |
download | kernel-qcow2-linux-f2739de19176009b14475207d5418cd79e7f0ba3.tar.gz kernel-qcow2-linux-f2739de19176009b14475207d5418cd79e7f0ba3.tar.xz kernel-qcow2-linux-f2739de19176009b14475207d5418cd79e7f0ba3.zip |
Staging: Pohmelfs: Added ->show_stats() callback.
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/pohmelfs/netfs.h')
-rw-r--r-- | drivers/staging/pohmelfs/netfs.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/drivers/staging/pohmelfs/netfs.h b/drivers/staging/pohmelfs/netfs.h index 59f81cbf388c..7700e2bf3cc7 100644 --- a/drivers/staging/pohmelfs/netfs.h +++ b/drivers/staging/pohmelfs/netfs.h @@ -116,16 +116,20 @@ struct pohmelfs_crypto unsigned char data[0]; /* Algorithm string, key and IV */ }; +#define POHMELFS_IO_PERM_READ (1<<0) +#define POHMELFS_IO_PERM_WRITE (1<<1) + /* * Configuration command used to create table of different remote servers. */ struct pohmelfs_ctl { - unsigned int idx; /* Config index */ - unsigned int type; /* Socket type */ - unsigned int proto; /* Socket protocol */ - unsigned int addrlen; /* Size of the address */ - unsigned short unused; /* Align structure by 4 bytes */ + __u32 idx; /* Config index */ + __u32 type; /* Socket type */ + __u32 proto; /* Socket protocol */ + __u16 addrlen; /* Size of the address */ + __u16 perm; /* IO permission */ + __u16 prio; /* IO priority */ struct saddr addr; /* Remote server address */ }; |