commit | 2f7d855c632a5dd507669abc90ec452635a4a248 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Nov 27 20:31:36 2011 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Nov 27 22:40:24 2011 -0500 |
tree | cd4e7bc8d38e8085aac86b7745b7168bef58b03e | |
parent | 66df14687d6a905aa111ec7327357a3ae1ad3236 [diff] |
libquota: remove use of PATH_MAX and replace it with QUOTA_NAME_LEN PATH_MAX is not portable (for example, it doesn't exist on the Hurd). So replace it with a new define, which defines the maximum length of the base quota name. As it turns out, this is substantially smaller than PATH_MAX. Also move the definitions relating to quotaio.c from mkquota.h to quotaio.h, as a cleanup. Addresses-Debian-Bug: #649689 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>