ext2fs.h (252890) | ext2fs.h (254260) |
---|---|
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 252890 2013-07-06 18:28:06Z pfg $ | 7 * $FreeBSD: head/sys/fs/ext2fs/ext2fs.h 254260 2013-08-12 21:34:48Z 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: --- 180 unchanged lines hidden (view full) --- 196 197/* 198 * Features supported in this implementation 199 * 200 * We support the following REV1 features: 201 * - EXT2F_ROCOMPAT_SPARSESUPER 202 * - EXT2F_ROCOMPAT_LARGEFILE 203 * - EXT2F_INCOMPAT_FTYPE | 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: --- 180 unchanged lines hidden (view full) --- 196 197/* 198 * Features supported in this implementation 199 * 200 * We support the following REV1 features: 201 * - EXT2F_ROCOMPAT_SPARSESUPER 202 * - EXT2F_ROCOMPAT_LARGEFILE 203 * - EXT2F_INCOMPAT_FTYPE |
204 * 205 * We partially (read-only) support the following EXT4 features: 206 * - EXT2F_ROCOMPAT_HUGE_FILE 207 * - EXT2F_ROCOMPAT_EXTRA_ISIZE 208 * - EXT2F_INCOMPAT_EXTENTS |
|
204 */ 205#define EXT2F_COMPAT_SUPP 0x0000 206#define EXT2F_ROCOMPAT_SUPP (EXT2F_ROCOMPAT_SPARSESUPER | \ 207 EXT2F_ROCOMPAT_LARGEFILE | \ 208 EXT2F_ROCOMPAT_EXTRA_ISIZE) | 209 */ 210#define EXT2F_COMPAT_SUPP 0x0000 211#define EXT2F_ROCOMPAT_SUPP (EXT2F_ROCOMPAT_SPARSESUPER | \ 212 EXT2F_ROCOMPAT_LARGEFILE | \ 213 EXT2F_ROCOMPAT_EXTRA_ISIZE) |
209#define EXT2F_INCOMPAT_SUPP EXT2F_INCOMPAT_FTYPE | 214#define EXT2F_INCOMPAT_SUPP (EXT2F_INCOMPAT_FTYPE | \ 215 EXT2F_INCOMPAT_EXTENTS) |
210 211/* Assume that user mode programs are passing in an ext2fs superblock, not 212 * a kernel struct super_block. This will allow us to call the feature-test 213 * macros from user land. */ 214#define EXT2_SB(sb) (sb) 215 216/* 217 * Feature set definitions --- 69 unchanged lines hidden --- | 216 217/* Assume that user mode programs are passing in an ext2fs superblock, not 218 * a kernel struct super_block. This will allow us to call the feature-test 219 * macros from user land. */ 220#define EXT2_SB(sb) (sb) 221 222/* 223 * Feature set definitions --- 69 unchanged lines hidden --- |