diff options
author | Steve French <stfrench@microsoft.com> | 2018-03-31 18:13:38 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2018-04-02 13:11:03 -0500 |
commit | 7ea884c77e5c97f1e0a1a422d961d27f78ca2745 (patch) | |
tree | c4da49e91400d11a8de4b69a50b87ad62ef8e6d4 /fs/xfs | |
parent | 6c4ba31133f1af68fd9abe070debeec14e7307d8 (diff) | |
download | linux-7ea884c77e5c97f1e0a1a422d961d27f78ca2745.tar.gz linux-7ea884c77e5c97f1e0a1a422d961d27f78ca2745.tar.bz2 linux-7ea884c77e5c97f1e0a1a422d961d27f78ca2745.zip |
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>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions