|
Linux Kernel
3.7.1
|
#include <v9fs.h>
Data Fields | |
| unsigned char | flags |
| unsigned char | nodev |
| unsigned short | debug |
| unsigned int | afid |
| unsigned int | cache |
| char * | uname |
| char * | aname |
| unsigned int | maxdata |
| unsigned int | dfltuid |
| unsigned int | dfltgid |
| u32 | uid |
| struct p9_client * | clnt |
| struct list_head | slist |
| struct backing_dev_info | bdi |
| struct rw_semaphore | rename_sem |
struct v9fs_session_info - per-instance session information : session options of type &p9_session_flags : set to 1 to disable device mapping : debug level : authentication handle : cache mode of type &p9_cache_modes : the tag of the cache associated with this session : session cookie associated with FS-Cache : copy of options string given by user : string user name to mount hierarchy as : mount specifier for remote hierarchy : maximum data to be sent/recvd per protocol message : default numeric userid to mount hierarchy as : default numeric groupid to mount hierarchy as : if V9FS_ACCESS_SINGLE, the numeric uid which mounted the hierarchy : reference to 9P network client instantiated for this session : reference to list of registered 9p sessions
This structure holds state for each session instance established during a sys_mount() .
Bugs: there seems to be a lot of state which could be condensed and/or removed.
| struct rw_semaphore rename_sem |
1.8.2