diff options
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r-- | fs/nfs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index d90efdea9fbd..5db7aceb4190 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
@@ -1930,7 +1930,7 @@ static int nfs_parse_devname(const char *dev_name, | |||
1930 | /* kill possible hostname list: not supported */ | 1930 | /* kill possible hostname list: not supported */ |
1931 | comma = strchr(dev_name, ','); | 1931 | comma = strchr(dev_name, ','); |
1932 | if (comma != NULL && comma < end) | 1932 | if (comma != NULL && comma < end) |
1933 | *comma = 0; | 1933 | len = comma - dev_name; |
1934 | } | 1934 | } |
1935 | 1935 | ||
1936 | if (len > maxnamlen) | 1936 | if (len > maxnamlen) |