Commit 4826d83d9c4f6bbf61f997e7b68547b4bffd8a49
Committed by
Phillip Lougher
1 parent
192cfd5877
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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>
Showing 3 changed files with 5 additions and 4 deletions Side-by-side Diff
fs/squashfs/dir.c
fs/squashfs/namei.c
fs/squashfs/squashfs_fs.h
... | ... | @@ -52,6 +52,9 @@ |
52 | 52 | /* Max length of filename (not 255) */ |
53 | 53 | #define SQUASHFS_NAME_LEN 256 |
54 | 54 | |
55 | +/* Max value for directory header count*/ | |
56 | +#define SQUASHFS_DIR_COUNT 256 | |
57 | + | |
55 | 58 | #define SQUASHFS_INVALID_FRAG (0xffffffffU) |
56 | 59 | #define SQUASHFS_INVALID_XATTR (0xffffffffU) |
57 | 60 | #define SQUASHFS_INVALID_BLK (-1LL) |