diff options
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 083b2b2c1571..c96f3edf1b9c 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -3316,6 +3316,7 @@ int cifs_setup_session(unsigned int xid, struct cifsSesInfo *pSesInfo, | |||
3316 | first_time = 1; | 3316 | first_time = 1; |
3317 | } | 3317 | } |
3318 | if (!rc) { | 3318 | if (!rc) { |
3319 | pSesInfo->flags = 0; | ||
3319 | pSesInfo->capabilities = pSesInfo->server->capabilities; | 3320 | pSesInfo->capabilities = pSesInfo->server->capabilities; |
3320 | if(linuxExtEnabled == 0) | 3321 | if(linuxExtEnabled == 0) |
3321 | pSesInfo->capabilities &= (~CAP_UNIX); | 3322 | pSesInfo->capabilities &= (~CAP_UNIX); |