Panic using rsync to msdosfs filesystem
Doug Barton
dougb at FreeBSD.org
Thu Jul 3 20:30:27 UTC 2008
Kostik Belousov wrote:
> Looks like this is the first casuality of the -fstack-protector.
D'oh! I seem to have a talent for such things. :-/
> Try this:
>
> diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c
> index 8a1484f..fe673e0 100644
> --- a/sys/fs/msdosfs/msdosfs_vnops.c
> +++ b/sys/fs/msdosfs/msdosfs_vnops.c
> @@ -982,7 +982,7 @@ msdosfs_rename(ap)
> struct componentname *tcnp = ap->a_tcnp;
> struct componentname *fcnp = ap->a_fcnp;
> struct denode *ip, *xp, *dp, *zp;
> - u_char toname[11], oldname[11];
> + u_char toname[12], oldname[11];
> u_long from_diroffset, to_diroffset;
> u_char to_count;
> int doingdirectory = 0, newparent = 0;
So far so good! I managed to complete my rsync run with that patch in,
and now I'm churning the disk with other stuff to make sure. So far so
good!
Thanks for getting on this one so fast.
Doug
--
This .signature sanitized for your protection
More information about the freebsd-current
mailing list