aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorBenjamin Coddington <[email protected]>2016-06-15 19:02:55 +0000
committerAnna Schumaker <[email protected]>2016-10-24 16:06:01 +0000
commit86a6c211d676add579a75b7e172a72bb3e2c21f8 (patch)
tree7729ab697d720df89323706cf9751d1ed0531ac0 /lib/cpu-notifier-error-inject.c
parentnfs4: fix missing-braces warning (diff)
downloadkernel-86a6c211d676add579a75b7e172a72bb3e2c21f8.tar.gz
kernel-86a6c211d676add579a75b7e172a72bb3e2c21f8.zip
NFS: Trim extra slash in v4 nfs_path
A NFSv4 mount of a subdirectory will show an extra slash (as in 'server://path') in proc's mountinfo which will not match the device name and path. This can cause problems for programs searching for the mount. Fix this by checking for a leading slash in the dentry path, if so trim away any trailing slashes in the device name. Signed-off-by: Benjamin Coddington <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions