summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/summary.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2018-03-31 18:13:38 -0500
committerSteve French <smfrench@gmail.com>2018-04-02 13:11:03 -0500
commit7ea884c77e5c97f1e0a1a422d961d27f78ca2745 (patch)
treec4da49e91400d11a8de4b69a50b87ad62ef8e6d4 /fs/jffs2/summary.c
parent6c4ba31133f1af68fd9abe070debeec14e7307d8 (diff)
downloadlinux-7ea884c77e5c97f1e0a1a422d961d27f78ca2745.tar.bz2
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/jffs2/summary.c')
0 files changed, 0 insertions, 0 deletions