Yep, this is the same fix as one provided in the clean-up/bug-fix patches I just resent today. James Lentini wrote: > While experimenting with the new string mount infrastructure, I > noticed an off by one error in the computation of the hostname's > length. This patch fixes the length computation to match the same > computation in nfs4_validate_mount_data(). > > Signed-off-by: James Lentini > --- > > fs/nfs/super.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- fs/nfs/super.c 2007-08-29 15:06:59.320932000 -0400 > +++ fs/nfs/super.c 2007-08-29 15:07:51.439960000 -0400 > @@ -1153,7 +1153,7 @@ static int nfs_validate_mount_data(struc > c = strchr(dev_name, ':'); > if (c == NULL) > return -EINVAL; > - len = c - dev_name - 1; > + len = c - dev_name; > if (len > sizeof(data->hostname)) > return -EINVAL; > strncpy(data->hostname, dev_name, len);