Re: [PATCH] fs/nfs: Fix nfs_parse_devname to not modify it's argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2019-01-30 at 07:58 -0600, Eric W. Biederman wrote:
> 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")
> Signed-off-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>

Thanks Eric! Applied to my linux-next branch for inclusion in the 5.1
merge window.

-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@xxxxxxxxxxxxxxx






[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux