diff options
| author | Eric W. Biederman <ebiederm@xmission.com> | 2019-01-30 07:58:38 -0600 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2019-09-13 15:33:41 +0200 |
| commit | 97177e45caded34f0e6099516d09e17226d27988 (patch) | |
| tree | 5acd92d4cc69192a1e9518ab484f10e24584376e /fs/notify/fdinfo.c | |
| parent | 13b2eb631b4cce23281d527b2c0b0502780cf164 (diff) | |
commit 40cc394be1aa18848b8757e03bd8ed23281f572e upstream.
In the rare and unsupported case of a hostname list nfs_parse_devname
will modify dev_name. There is no need to modify dev_name as the all
that is being computed is the length of the hostname, so the computed
length can just be shorted.
Fixes: dc04589827f7 ("NFS: Use common device name parsing logic for NFSv4 and NFSv2/v3")
Change-Id: Ie215b7b91559b086511accbc42f345f78dac19b3
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/notify/fdinfo.c')
0 files changed, 0 insertions, 0 deletions
