Message ID | f6e1b7990909211544v49774c0dk3fbb7b18a5829389@mail.gmail.com (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Eric Van Hensbergen |
Headers | show |
diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c index f4a5950..464fd0f 100644 --- a/fs/9p/v9fs.c +++ b/fs/9p/v9fs.c @@ -228,6 +228,10 @@ struct p9_fid *v9fs_session_init(struct v9fs_session_info *v9ses, return ERR_PTR(-ENOMEM); } + spin_lock(&v9fs_sessionlist_lock); + list_add(&v9ses->slist, &v9fs_sessionlist); + spin_unlock(&v9fs_sessionlist_lock); + v9ses->flags = V9FS_EXTENDED | V9FS_ACCESS_USER; strcpy(v9ses->uname, V9FS_DEFUSER);