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 0570391eaa16..23790c7b2289 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
@@ -1919,7 +1919,7 @@ static int nfs_parse_devname(const char *dev_name, | |||
1919 | /* kill possible hostname list: not supported */ | 1919 | /* kill possible hostname list: not supported */ |
1920 | comma = strchr(dev_name, ','); | 1920 | comma = strchr(dev_name, ','); |
1921 | if (comma != NULL && comma < end) | 1921 | if (comma != NULL && comma < end) |
1922 | *comma = 0; | 1922 | len = comma - dev_name; |
1923 | } | 1923 | } |
1924 | 1924 | ||
1925 | if (len > maxnamlen) | 1925 | if (len > maxnamlen) |