diff options
author | Ajeet Yadav <ajeet.yadav.77@gmail.com> | 2012-02-02 02:34:49 -0500 |
---|---|---|
committer | Phillip Lougher <phillip@squashfs.org.uk> | 2012-03-09 22:00:54 -0500 |
commit | 4826d83d9c4f6bbf61f997e7b68547b4bffd8a49 (patch) | |
tree | 097311a82c02b3d0d8fc35ed1589e3edd6bccbcb /fs/squashfs/squashfs_fs.h | |
parent | 192cfd58774b4d17b2fe8bdc77d89c2ef4e0591d (diff) |
Squashfs: use define instead of constant
Its better to use defined name instead of constant
Signed-off-by: Ajeet Yadav <ajeet.yadav.77@gmail.com>
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Diffstat (limited to 'fs/squashfs/squashfs_fs.h')
-rw-r--r-- | fs/squashfs/squashfs_fs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/squashfs/squashfs_fs.h b/fs/squashfs/squashfs_fs.h index e8e14645de9a..b2f9f623ac98 100644 --- a/fs/squashfs/squashfs_fs.h +++ b/fs/squashfs/squashfs_fs.h | |||
@@ -52,6 +52,9 @@ | |||
52 | /* Max length of filename (not 255) */ | 52 | /* Max length of filename (not 255) */ |
53 | #define SQUASHFS_NAME_LEN 256 | 53 | #define SQUASHFS_NAME_LEN 256 |
54 | 54 | ||
55 | /* Max value for directory header count*/ | ||
56 | #define SQUASHFS_DIR_COUNT 256 | ||
57 | |||
55 | #define SQUASHFS_INVALID_FRAG (0xffffffffU) | 58 | #define SQUASHFS_INVALID_FRAG (0xffffffffU) |
56 | #define SQUASHFS_INVALID_XATTR (0xffffffffU) | 59 | #define SQUASHFS_INVALID_XATTR (0xffffffffU) |
57 | #define SQUASHFS_INVALID_BLK (-1LL) | 60 | #define SQUASHFS_INVALID_BLK (-1LL) |