ext2fs.h (243652) | ext2fs.h (244475) |
---|---|
1/*- 2 * modified for EXT2FS support in Lites 1.1 3 * 4 * Aug 1995, Godmar Back (gback@cs.utah.edu) 5 * University of Utah, Department of Computer Science 6 * | 1/*- 2 * modified for EXT2FS support in Lites 1.1 3 * 4 * Aug 1995, Godmar Back (gback@cs.utah.edu) 5 * University of Utah, Department of Computer Science 6 * |
7 * $FreeBSD: head/sys/fs/ext2fs/ext2fs.h 243652 2012-11-28 15:48:32Z pfg $ | 7 * $FreeBSD: head/sys/fs/ext2fs/ext2fs.h 244475 2012-12-20 02:22:36Z pfg $ |
8 */ 9/*- 10 * Copyright (c) 2009 Aditya Sarawgi 11 * All rights reserved. 12 * 13 * Redistribution and use in source and binary forms, with or without 14 * modification, are permitted provided that the following conditions 15 * are met: --- 194 unchanged lines hidden (view full) --- 210#define EXT2F_COMPAT_PREALLOC 0x0001 211#define EXT2F_COMPAT_HASJOURNAL 0x0004 212#define EXT2F_COMPAT_RESIZE 0x0010 213#define EXT2F_COMPAT_DIRHASHINDEX 0x0020 214 215#define EXT2F_ROCOMPAT_SPARSESUPER 0x0001 216#define EXT2F_ROCOMPAT_LARGEFILE 0x0002 217#define EXT2F_ROCOMPAT_BTREE_DIR 0x0004 | 8 */ 9/*- 10 * Copyright (c) 2009 Aditya Sarawgi 11 * All rights reserved. 12 * 13 * Redistribution and use in source and binary forms, with or without 14 * modification, are permitted provided that the following conditions 15 * are met: --- 194 unchanged lines hidden (view full) --- 210#define EXT2F_COMPAT_PREALLOC 0x0001 211#define EXT2F_COMPAT_HASJOURNAL 0x0004 212#define EXT2F_COMPAT_RESIZE 0x0010 213#define EXT2F_COMPAT_DIRHASHINDEX 0x0020 214 215#define EXT2F_ROCOMPAT_SPARSESUPER 0x0001 216#define EXT2F_ROCOMPAT_LARGEFILE 0x0002 217#define EXT2F_ROCOMPAT_BTREE_DIR 0x0004 |
218#define EXT4F_ROCOMPAT_HUGE_FILE 0x0008 219#define EXT4F_ROCOMPAT_GDT_CSUM 0x0010 220#define EXT4F_ROCOMPAT_DIR_NLINK 0x0020 221#define EXT4F_ROCOMPAT_EXTRA_ISIZE 0x0040 | 218#define EXT2F_ROCOMPAT_HUGE_FILE 0x0008 219#define EXT2F_ROCOMPAT_GDT_CSUM 0x0010 220#define EXT2F_ROCOMPAT_DIR_NLINK 0x0020 221#define EXT2F_ROCOMPAT_EXTRA_ISIZE 0x0040 |
222 223#define EXT2F_INCOMPAT_COMP 0x0001 224#define EXT2F_INCOMPAT_FTYPE 0x0002 | 222 223#define EXT2F_INCOMPAT_COMP 0x0001 224#define EXT2F_INCOMPAT_FTYPE 0x0002 |
225#define EXT4F_INCOMPAT_META_BG 0x0010 226#define EXT4F_INCOMPAT_EXTENTS 0x0040 227#define EXT4F_INCOMPAT_64BIT 0x0080 228#define EXT4F_INCOMPAT_MMP 0x0100 229#define EXT4F_INCOMPAT_FLEX_BG 0x0200 | 225#define EXT2F_INCOMPAT_META_BG 0x0010 226#define EXT2F_INCOMPAT_EXTENTS 0x0040 227#define EXT2F_INCOMPAT_64BIT 0x0080 228#define EXT2F_INCOMPAT_MMP 0x0100 229#define EXT2F_INCOMPAT_FLEX_BG 0x0200 |
230 231/* 232 * Features supported in this implementation 233 * 234 * We support the following REV1 features: 235 * - EXT2F_ROCOMPAT_SPARSESUPER 236 * - EXT2F_ROCOMPAT_LARGEFILE 237 * - EXT2F_INCOMPAT_FTYPE 238 */ 239#define EXT2F_COMPAT_SUPP 0x0000 240#define EXT2F_ROCOMPAT_SUPP (EXT2F_ROCOMPAT_SPARSESUPER | \ 241 EXT2F_ROCOMPAT_LARGEFILE | \ | 230 231/* 232 * Features supported in this implementation 233 * 234 * We support the following REV1 features: 235 * - EXT2F_ROCOMPAT_SPARSESUPER 236 * - EXT2F_ROCOMPAT_LARGEFILE 237 * - EXT2F_INCOMPAT_FTYPE 238 */ 239#define EXT2F_COMPAT_SUPP 0x0000 240#define EXT2F_ROCOMPAT_SUPP (EXT2F_ROCOMPAT_SPARSESUPER | \ 241 EXT2F_ROCOMPAT_LARGEFILE | \ |
242 EXT4F_ROCOMPAT_EXTRA_ISIZE) | 242 EXT2F_ROCOMPAT_EXTRA_ISIZE) |
243#define EXT2F_INCOMPAT_SUPP EXT2F_INCOMPAT_FTYPE 244 245/* Assume that user mode programs are passing in an ext2fs superblock, not 246 * a kernel struct super_block. This will allow us to call the feature-test 247 * macros from user land. */ 248#define EXT2_SB(sb) (sb) 249 250/* --- 115 unchanged lines hidden --- | 243#define EXT2F_INCOMPAT_SUPP EXT2F_INCOMPAT_FTYPE 244 245/* Assume that user mode programs are passing in an ext2fs superblock, not 246 * a kernel struct super_block. This will allow us to call the feature-test 247 * macros from user land. */ 248#define EXT2_SB(sb) (sb) 249 250/* --- 115 unchanged lines hidden --- |