aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/reiserfs_fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/reiserfs_fs.h')
-rw-r--r--include/linux/reiserfs_fs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h
index e00d240314c5..67ad310fa88b 100644
--- a/include/linux/reiserfs_fs.h
+++ b/include/linux/reiserfs_fs.h
@@ -1615,6 +1615,10 @@ struct reiserfs_journal_header {
1615#define JOURNAL_MAX_COMMIT_AGE 30 1615#define JOURNAL_MAX_COMMIT_AGE 30
1616#define JOURNAL_MAX_TRANS_AGE 30 1616#define JOURNAL_MAX_TRANS_AGE 30
1617#define JOURNAL_PER_BALANCE_CNT (3 * (MAX_HEIGHT-2) + 9) 1617#define JOURNAL_PER_BALANCE_CNT (3 * (MAX_HEIGHT-2) + 9)
1618#define JOURNAL_BLOCKS_PER_OBJECT(sb) (JOURNAL_PER_BALANCE_CNT * 3 + \
1619 2 * (REISERFS_QUOTA_INIT_BLOCKS(sb) + \
1620 REISERFS_QUOTA_TRANS_BLOCKS(sb)))
1621
1618#ifdef CONFIG_QUOTA 1622#ifdef CONFIG_QUOTA
1619/* We need to update data and inode (atime) */ 1623/* We need to update data and inode (atime) */
1620#define REISERFS_QUOTA_TRANS_BLOCKS(s) (REISERFS_SB(s)->s_mount_opt & (1<<REISERFS_QUOTA) ? 2 : 0) 1624#define REISERFS_QUOTA_TRANS_BLOCKS(s) (REISERFS_SB(s)->s_mount_opt & (1<<REISERFS_QUOTA) ? 2 : 0)