Re: [PATCH] [btrfs-progs] Modify parse_size to remove the strdup/free

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

 



On Tue, Oct 23, 2012 at 05:11:27PM +0800, Rock Lee wrote:
> Since the function atoi(l) series stop at the first non numeric chars,
> 
> So there's no need to strdup the original s and modify s[len-1] = '\0'

This change is superseded and contained in Goffredos patches which I
prefer for inclusion as they do more extensive updates.

thanks anyway,
david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux