X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2F9p%2Fv9fs.h;h=820bf5ca35d88b8dd2c03ac619b88b16d8ac45c2;hb=83672d392f7bcf556f7920d6715e4174d9373ee0;hp=c134d104cb28f56b606d51886a7e34f93f02c378;hpb=7d14f145f839b5d0d221ea209b4998f93267e2ec;p=powerpc.git diff --git a/fs/9p/v9fs.h b/fs/9p/v9fs.h index c134d104cb..820bf5ca35 100644 --- a/fs/9p/v9fs.h +++ b/fs/9p/v9fs.h @@ -47,7 +47,7 @@ struct v9fs_session_info { unsigned int afid; /* authentication fid */ unsigned int rfdno; /* read file descriptor number */ unsigned int wfdno; /* write file descriptor number */ - + unsigned int cache; /* cache mode */ char *name; /* user name to mount as */ char *remotename; /* name of remote hierarchy being mounted */ @@ -73,6 +73,13 @@ enum { PROTO_FD, }; +/* possible values of ->cache */ +/* eventually support loose, tight, time, session, default always none */ +enum { + CACHE_NONE, /* default */ + CACHE_LOOSE, /* no consistency */ +}; + extern struct dentry *v9fs_debugfs_root; int v9fs_session_init(struct v9fs_session_info *, const char *, char *);