Deleted Added
full compact
ext2_dinode.h (262623) ext2_dinode.h (294653)
1/*-
2 * Copyright (c) 2009 Aditya Sarawgi
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2009 Aditya Sarawgi
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/fs/ext2fs/ext2_dinode.h 262623 2014-02-28 21:25:32Z pfg $
26 * $FreeBSD: head/sys/fs/ext2fs/ext2_dinode.h 294653 2016-01-24 02:41:49Z pfg $
27 */
28
29#ifndef _FS_EXT2FS_EXT2_DINODE_H_
30#define _FS_EXT2FS_EXT2_DINODE_H_
31
32/*
33 * Special inode numbers
34 * The root inode is the root of the file system. Inode 0 can't be used for

--- 11 unchanged lines hidden (view full) ---

46#define EXT2_JOURNALINO ((ino_t)8)
47#define EXT2_EXCLUDEINO ((ino_t)9)
48#define EXT2_REPLICAINO ((ino_t)10)
49#define EXT2_FIRSTINO ((ino_t)11)
50
51/*
52 * Inode flags
53 * The system supports EXT2_IMMUTABLE, EXT2_APPEND and EXT2_NODUMP flags.
27 */
28
29#ifndef _FS_EXT2FS_EXT2_DINODE_H_
30#define _FS_EXT2FS_EXT2_DINODE_H_
31
32/*
33 * Special inode numbers
34 * The root inode is the root of the file system. Inode 0 can't be used for

--- 11 unchanged lines hidden (view full) ---

46#define EXT2_JOURNALINO ((ino_t)8)
47#define EXT2_EXCLUDEINO ((ino_t)9)
48#define EXT2_REPLICAINO ((ino_t)10)
49#define EXT2_FIRSTINO ((ino_t)11)
50
51/*
52 * Inode flags
53 * The system supports EXT2_IMMUTABLE, EXT2_APPEND and EXT2_NODUMP flags.
54 * The current implementation also uses EXT4_INDEX, EXT4_EXTENTS and
54 * The current implementation also uses EXT3_INDEX, EXT4_EXTENTS and
55 * EXT4_HUGE_FILE with some restrictions, imposed the lack of write
56 * support.
57 */
58#define EXT2_SECRM 0x00000001 /* Secure deletion */
59#define EXT2_UNRM 0x00000002 /* Undelete */
60#define EXT2_COMPR 0x00000004 /* Compress file */
61#define EXT2_SYNC 0x00000008 /* Synchronous updates */
62#define EXT2_IMMUTABLE 0x00000010 /* Immutable file */
63#define EXT2_APPEND 0x00000020 /* Writes to file may only append */
64#define EXT2_NODUMP 0x00000040 /* Do not dump file */
65#define EXT2_NOATIME 0x00000080 /* Do not update atime */
55 * EXT4_HUGE_FILE with some restrictions, imposed the lack of write
56 * support.
57 */
58#define EXT2_SECRM 0x00000001 /* Secure deletion */
59#define EXT2_UNRM 0x00000002 /* Undelete */
60#define EXT2_COMPR 0x00000004 /* Compress file */
61#define EXT2_SYNC 0x00000008 /* Synchronous updates */
62#define EXT2_IMMUTABLE 0x00000010 /* Immutable file */
63#define EXT2_APPEND 0x00000020 /* Writes to file may only append */
64#define EXT2_NODUMP 0x00000040 /* Do not dump file */
65#define EXT2_NOATIME 0x00000080 /* Do not update atime */
66#define EXT4_INDEX 0x00001000 /* Hash-indexed directory */
66#define EXT3_INDEX 0x00001000 /* Hash-indexed directory */
67#define EXT4_IMAGIC 0x00002000 /* AFS directory */
68#define EXT4_JOURNAL_DATA 0x00004000 /* File data should be journaled */
69#define EXT4_NOTAIL 0x00008000 /* File tail should not be merged */
70#define EXT4_DIRSYNC 0x00010000 /* Dirsync behaviour */
71#define EXT4_TOPDIR 0x00020000 /* Top of directory hierarchies*/
72#define EXT4_HUGE_FILE 0x00040000 /* Set to each huge file */
73#define EXT4_EXTENTS 0x00080000 /* Inode uses extents */
74#define EXT4_EOFBLOCKS 0x00400000 /* Blocks allocated beyond EOF */

--- 63 unchanged lines hidden ---
67#define EXT4_IMAGIC 0x00002000 /* AFS directory */
68#define EXT4_JOURNAL_DATA 0x00004000 /* File data should be journaled */
69#define EXT4_NOTAIL 0x00008000 /* File tail should not be merged */
70#define EXT4_DIRSYNC 0x00010000 /* Dirsync behaviour */
71#define EXT4_TOPDIR 0x00020000 /* Top of directory hierarchies*/
72#define EXT4_HUGE_FILE 0x00040000 /* Set to each huge file */
73#define EXT4_EXTENTS 0x00080000 /* Inode uses extents */
74#define EXT4_EOFBLOCKS 0x00400000 /* Blocks allocated beyond EOF */

--- 63 unchanged lines hidden ---