commit | 355ffb2ff566229b8bc3f5f7557e91edff5a767a | [log] [tgz] |
---|---|---|
author | Robert Yang <liezhi.yang@windriver.com> | Sun Oct 13 22:07:57 2013 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Oct 13 22:07:57 2013 -0400 |
tree | cab8ba42e68f5341db056d7952c628bcdeafe956 | |
parent | 128c943ef2a0a82b8a4a8a9ca66f459e107bc877 [diff] |
debugfs.c: the max length of debugfs argument is too short 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, so use BUFSIZ (which is 8192 on Linux systems), that's also what the ss library uses. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Acked-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>