9p: Make sure we are able to clunk the cached fid on umount
dcache prune happen on umount. So we cannot mark the client satus disconnect. That will prevent a 9p call to the server Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
This commit is contained in:
parent
d994f4058d
commit
6d96d3ab7a
5 changed files with 34 additions and 3 deletions
|
@ -54,6 +54,7 @@ enum p9_proto_versions{
|
|||
|
||||
enum p9_trans_status {
|
||||
Connected,
|
||||
BeginDisconnect,
|
||||
Disconnected,
|
||||
Hung,
|
||||
};
|
||||
|
@ -198,6 +199,7 @@ int p9_client_version(struct p9_client *);
|
|||
struct p9_client *p9_client_create(const char *dev_name, char *options);
|
||||
void p9_client_destroy(struct p9_client *clnt);
|
||||
void p9_client_disconnect(struct p9_client *clnt);
|
||||
void p9_client_begin_disconnect(struct p9_client *clnt);
|
||||
struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid,
|
||||
char *uname, u32 n_uname, char *aname);
|
||||
struct p9_fid *p9_client_auth(struct p9_client *clnt, char *uname,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue