commit | 36e4e21f511423450285568ceb26b3ddb233e286 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Tue Oct 04 11:38:47 2011 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Oct 04 18:51:43 2011 -0400 |
tree | 20c57bd9263860df8adefdef6938ecab0b6a6592 | |
parent | edbfd75d8fb4a13eccc2cadb12a453c3425d17d1 [diff] |
libquota: remove get_qf_name() The get_qf_name() function used PATH_MAX, which is non-portable. Worse, it blindly assumed that PATH_MAX was the size of the buffer passed to it --- which in the one and only place where it was used in libquota, was a buffer declared to a fixed size 256 bytes. Fix this by simply getting rid of the function altogether. Cc: Aditya Kali <adityakali@google.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>