Hi Ted,
Thanks, I will update it and send a V3.
// Robert
On 07/29/2013 10:37 AM, Theodore Ts'o wrote:
On Fri, Jul 26, 2013 at 06:30:56PM +0800, Robert Yang wrote:
The max length of debugfs argument is 256 which is too short, the
arguments are two paths, the PATH_MAX is 4096 according to
/usr/include/linux/limits.h, use 2048 (4096 / 2) is a reasonable value.
I'd just use BUFSIZ (which is 8192 on Linux systems). That's what the
ss library uses, and if you might have two paths and PATH_MAX is 4096,
2048 could easily be too small.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html