linux/fs/cifs
Steve French 7ea884c77e smb3: Fix root directory when server returns inode number of zero
Some servers return inode number zero for the root directory, which
causes ls to display incorrect data (missing "." and "..").

If the server returns zero for the inode number of the root directory,
fake an inode number for it.

Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
CC: Stable <stable@vger.kernel.org>
2018-04-02 13:11:03 -05:00
..
asn1.c
cache.c fscache: remove unused ->now_uncached callback 2017-09-06 17:27:26 -07:00
cifs_debug.c Add some missing debug fields in server and tcon structs 2018-02-07 09:36:38 -06:00
cifs_debug.h
cifs_dfs_ref.c
cifs_fs_sb.h Rename superblock flags (MS_xyz -> SB_xyz) 2017-11-27 13:05:09 -08:00
cifs_ioctl.h
cifs_spnego.c
cifs_spnego.h
cifs_unicode.c [SMB3] Remove ifdef since SMB3 (and later) now STRONGLY preferred 2017-07-08 18:57:07 -05:00
cifs_unicode.h [SMB3] Remove ifdef since SMB3 (and later) now STRONGLY preferred 2017-07-08 18:57:07 -05:00
cifs_uniupr.h
cifsacl.c fs/cifs/cifsacl.c Fixes typo in a comment 2018-01-28 09:19:45 -06:00
cifsacl.h
cifsencrypt.c CIFS: fix sha512 check in cifs_crypto_secmech_release 2018-04-01 20:24:40 -05:00
cifsfs.c CIFS: add sha512 secmech 2018-04-01 20:24:39 -05:00
cifsfs.h update internal version number for cifs.ko 2018-01-26 17:03:01 -06:00
cifsglob.h smb3: Fix root directory when server returns inode number of zero 2018-04-02 13:11:03 -05:00
cifspdu.h
cifsproto.h CIFS: refactor crypto shash/sdesc allocation&free 2018-04-01 20:24:39 -05:00
cifssmb.c cifs: add server->vals->header_preamble_size 2018-04-02 13:09:44 -05:00
connect.c cifs: add server->vals->header_preamble_size 2018-04-02 13:09:44 -05:00
dir.c cifs: check MaxPathNameComponentLength != 0 before using it 2017-10-30 02:11:38 -05:00
dns_resolve.c
dns_resolve.h
export.c
file.c CIFS: SMBD: Upper layer performs SMB read via RDMA write through memory registration 2018-01-24 19:49:07 -06:00
fscache.c
fscache.h
inode.c smb3: Fix root directory when server returns inode number of zero 2018-04-02 13:11:03 -05:00
ioctl.c [SMB3] Remove ifdef since SMB3 (and later) now STRONGLY preferred 2017-07-08 18:57:07 -05:00
Kconfig SMB3.1.1 dialect is no longer experimental 2018-04-01 20:24:40 -05:00
link.c CIFS: refactor crypto shash/sdesc allocation&free 2018-04-01 20:24:39 -05:00
Makefile CIFS: SMBD: Establish SMB Direct connection 2018-01-24 19:49:05 -06:00
misc.c CIFS: refactor crypto shash/sdesc allocation&free 2018-04-01 20:24:39 -05:00
netmisc.c cifs: small underflow in cnvrtDosUnixTm() 2017-05-02 14:57:34 -05:00
nterr.c
nterr.h
ntlmssp.h
readdir.c
rfc1002pdu.h
sess.c
smb1ops.c cifs: add server->vals->header_preamble_size 2018-04-02 13:09:44 -05:00
smb2file.c CIFS: use tcon_ipc instead of use_ipc parameter of SMB2_ioctl 2018-01-26 17:03:00 -06:00
smb2glob.h
smb2inode.c
smb2maperror.c Don't log expected error on DFS referral request 2018-04-01 20:24:40 -05:00
smb2misc.c cifs: fix sparse warning on previous patch in a few printks 2018-04-02 13:10:40 -05:00
smb2ops.c cifs: add server->vals->header_preamble_size 2018-04-02 13:09:44 -05:00
smb2pdu.c cifs: add server->vals->header_preamble_size 2018-04-02 13:09:44 -05:00
smb2pdu.h CIFS: implement v3.11 preauth integrity 2018-04-01 20:24:40 -05:00
smb2proto.h CIFS: implement v3.11 preauth integrity 2018-04-01 20:24:40 -05:00
smb2status.h
smb2transport.c CIFS: add sha512 secmech 2018-04-01 20:24:39 -05:00
smbdirect.c cifs: smbd: disconnect transport on RDMA errors 2018-04-01 20:24:40 -05:00
smbdirect.h move a few externs to smbdirect.h to eliminate warning 2018-01-26 17:03:00 -06:00
smbencrypt.c CIFS: refactor crypto shash/sdesc allocation&free 2018-04-01 20:24:39 -05:00
smberr.h
smbfsctl.h
transport.c cifs: add server->vals->header_preamble_size 2018-04-02 13:09:44 -05:00
winucase.c
xattr.c Rename superblock flags (MS_xyz -> SB_xyz) 2017-11-27 13:05:09 -08:00