diff options
Diffstat (limited to 'fs/squashfs/squashfs_fs.h')
-rw-r--r-- | fs/squashfs/squashfs_fs.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/squashfs/squashfs_fs.h b/fs/squashfs/squashfs_fs.h index b2f9f623ac98..9e2349d07cb1 100644 --- a/fs/squashfs/squashfs_fs.h +++ b/fs/squashfs/squashfs_fs.h | |||
@@ -30,11 +30,6 @@ | |||
30 | 30 | ||
31 | /* size of metadata (inode and directory) blocks */ | 31 | /* size of metadata (inode and directory) blocks */ |
32 | #define SQUASHFS_METADATA_SIZE 8192 | 32 | #define SQUASHFS_METADATA_SIZE 8192 |
33 | #define SQUASHFS_METADATA_LOG 13 | ||
34 | |||
35 | /* default size of data blocks */ | ||
36 | #define SQUASHFS_FILE_SIZE 131072 | ||
37 | #define SQUASHFS_FILE_LOG 17 | ||
38 | 33 | ||
39 | /* default size of block device I/O */ | 34 | /* default size of block device I/O */ |
40 | #ifdef CONFIG_SQUASHFS_4K_DEVBLK_SIZE | 35 | #ifdef CONFIG_SQUASHFS_4K_DEVBLK_SIZE |
@@ -46,9 +41,6 @@ | |||
46 | #define SQUASHFS_FILE_MAX_SIZE 1048576 | 41 | #define SQUASHFS_FILE_MAX_SIZE 1048576 |
47 | #define SQUASHFS_FILE_MAX_LOG 20 | 42 | #define SQUASHFS_FILE_MAX_LOG 20 |
48 | 43 | ||
49 | /* Max number of uids and gids */ | ||
50 | #define SQUASHFS_IDS 65536 | ||
51 | |||
52 | /* Max length of filename (not 255) */ | 44 | /* Max length of filename (not 255) */ |
53 | #define SQUASHFS_NAME_LEN 256 | 45 | #define SQUASHFS_NAME_LEN 256 |
54 | 46 | ||
@@ -145,9 +137,6 @@ | |||
145 | #define SQUASHFS_MKINODE(A, B) ((long long)(((long long) (A)\ | 137 | #define SQUASHFS_MKINODE(A, B) ((long long)(((long long) (A)\ |
146 | << 16) + (B))) | 138 | << 16) + (B))) |
147 | 139 | ||
148 | /* Translate between VFS mode and squashfs mode */ | ||
149 | #define SQUASHFS_MODE(A) ((A) & 0xfff) | ||
150 | |||
151 | /* fragment and fragment table defines */ | 140 | /* fragment and fragment table defines */ |
152 | #define SQUASHFS_FRAGMENT_BYTES(A) \ | 141 | #define SQUASHFS_FRAGMENT_BYTES(A) \ |
153 | ((A) * sizeof(struct squashfs_fragment_entry)) | 142 | ((A) * sizeof(struct squashfs_fragment_entry)) |
@@ -218,11 +207,6 @@ | |||
218 | /* cached data constants for filesystem */ | 207 | /* cached data constants for filesystem */ |
219 | #define SQUASHFS_CACHED_BLKS 8 | 208 | #define SQUASHFS_CACHED_BLKS 8 |
220 | 209 | ||
221 | #define SQUASHFS_MAX_FILE_SIZE_LOG 64 | ||
222 | |||
223 | #define SQUASHFS_MAX_FILE_SIZE (1LL << \ | ||
224 | (SQUASHFS_MAX_FILE_SIZE_LOG - 2)) | ||
225 | |||
226 | /* meta index cache */ | 210 | /* meta index cache */ |
227 | #define SQUASHFS_META_INDEXES (SQUASHFS_METADATA_SIZE / sizeof(unsigned int)) | 211 | #define SQUASHFS_META_INDEXES (SQUASHFS_METADATA_SIZE / sizeof(unsigned int)) |
228 | #define SQUASHFS_META_ENTRIES 127 | 212 | #define SQUASHFS_META_ENTRIES 127 |