linux/fs/jfs/jfs_dinode.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *   Copyright (C) International Business Machines Corp., 2000-2001
 */
#ifndef _H_JFS_DINODE
#define _H_JFS_DINODE

/*
 *	jfs_dinode.h: on-disk inode manager
 */

#define INODESLOTSIZE
#define L2INODESLOTSIZE
#define log2INODESIZE


/*
 *	on-disk inode : 512 bytes
 *
 * note: align 64-bit fields on 8-byte boundary.
 */
struct dinode {};

/* extended mode bits (on-disk inode di_mode) */
#define IFJOURNAL
#define ISPARSE
#define INLINEEA
#define ISWAPFILE

/* more extended mode bits: attributes for OS/2 */
#define IREADONLY
#define IHIDDEN
#define ISYSTEM

#define IDIRECTORY
#define IARCHIVE
#define INEWNAME

#define IRASH
#define ATTRSHIFT

/* extended attributes for Linux */

#define JFS_NOATIME_FL

#define JFS_DIRSYNC_FL
#define JFS_SYNC_FL
#define JFS_SECRM_FL
#define JFS_UNRM_FL

#define JFS_APPEND_FL
#define JFS_IMMUTABLE_FL

#define JFS_FL_USER_VISIBLE
#define JFS_FL_USER_MODIFIABLE
#define JFS_FL_INHERIT

#endif /*_H_JFS_DINODE */