Re: [PATCH v2 2/2] CIFS: use tcon_ipc instead of use_ipc parameter of SMB2_ioctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pavel Shilovsky <piastryyy@xxxxxxxxx> writes:
> Is it safe to try IPC share only and not retry with any normal tcon in
> the case of ENOTCONN like the current code does?

ENOTCONN was returned when SMB2_ioctl(with_ipc=true) was called and no
ipc was available so I believe it is functionnaly equivalent
currently. Unless other NT_STATUS mapped to ENOTCONN can be returned in
that scenario but I don't think it can.

While rebasing this on top of Steve's for-next I've realized since IPC
is not part of the tcon list anymore it's not automatically
reconnected. I have to do more testing :(

-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux