aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ext4_fs_sb.h
diff options
context:
space:
mode:
authorMingming Cao <cmm@us.ibm.com>2006-10-11 04:20:53 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-11 14:14:15 -0400
commit617ba13b31fbf505cc21799826639ef24ed94af0 (patch)
tree2a41e8c993f7c1eed115ad24047d546ba56cbdf5 /include/linux/ext4_fs_sb.h
parentac27a0ec112a089f1a5102bc8dffc79c8c815571 (diff)
[PATCH] ext4: rename ext4 symbols to avoid duplication of ext3 symbols
Mingming Cao originally did this work, and Shaggy reproduced it using some scripts from her. Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/ext4_fs_sb.h')
-rw-r--r--include/linux/ext4_fs_sb.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/ext4_fs_sb.h b/include/linux/ext4_fs_sb.h
index f61309c81cc4..ce4856d70100 100644
--- a/include/linux/ext4_fs_sb.h
+++ b/include/linux/ext4_fs_sb.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * linux/include/linux/ext3_fs_sb.h 2 * linux/include/linux/ext4_fs_sb.h
3 * 3 *
4 * Copyright (C) 1992, 1993, 1994, 1995 4 * Copyright (C) 1992, 1993, 1994, 1995
5 * Remy Card (card@masi.ibp.fr) 5 * Remy Card (card@masi.ibp.fr)
@@ -13,8 +13,8 @@
13 * Copyright (C) 1991, 1992 Linus Torvalds 13 * Copyright (C) 1991, 1992 Linus Torvalds
14 */ 14 */
15 15
16#ifndef _LINUX_EXT3_FS_SB 16#ifndef _LINUX_EXT4_FS_SB
17#define _LINUX_EXT3_FS_SB 17#define _LINUX_EXT4_FS_SB
18 18
19#ifdef __KERNEL__ 19#ifdef __KERNEL__
20#include <linux/timer.h> 20#include <linux/timer.h>
@@ -27,7 +27,7 @@
27/* 27/*
28 * third extended-fs super-block data in memory 28 * third extended-fs super-block data in memory
29 */ 29 */
30struct ext3_sb_info { 30struct ext4_sb_info {
31 unsigned long s_frag_size; /* Size of a fragment in bytes */ 31 unsigned long s_frag_size; /* Size of a fragment in bytes */
32 unsigned long s_frags_per_block;/* Number of fragments per block */ 32 unsigned long s_frags_per_block;/* Number of fragments per block */
33 unsigned long s_inodes_per_block;/* Number of inodes per block */ 33 unsigned long s_inodes_per_block;/* Number of inodes per block */
@@ -39,7 +39,7 @@ struct ext3_sb_info {
39 unsigned long s_desc_per_block; /* Number of group descriptors per block */ 39 unsigned long s_desc_per_block; /* Number of group descriptors per block */
40 unsigned long s_groups_count; /* Number of groups in the fs */ 40 unsigned long s_groups_count; /* Number of groups in the fs */
41 struct buffer_head * s_sbh; /* Buffer containing the super block */ 41 struct buffer_head * s_sbh; /* Buffer containing the super block */
42 struct ext3_super_block * s_es; /* Pointer to the super block in the buffer */ 42 struct ext4_super_block * s_es; /* Pointer to the super block in the buffer */
43 struct buffer_head ** s_group_desc; 43 struct buffer_head ** s_group_desc;
44 unsigned long s_mount_opt; 44 unsigned long s_mount_opt;
45 uid_t s_resuid; 45 uid_t s_resuid;
@@ -62,7 +62,7 @@ struct ext3_sb_info {
62 /* root of the per fs reservation window tree */ 62 /* root of the per fs reservation window tree */
63 spinlock_t s_rsv_window_lock; 63 spinlock_t s_rsv_window_lock;
64 struct rb_root s_rsv_window_root; 64 struct rb_root s_rsv_window_root;
65 struct ext3_reserve_window_node s_rsv_window_head; 65 struct ext4_reserve_window_node s_rsv_window_head;
66 66
67 /* Journaling */ 67 /* Journaling */
68 struct inode * s_journal_inode; 68 struct inode * s_journal_inode;
@@ -80,4 +80,4 @@ struct ext3_sb_info {
80#endif 80#endif
81}; 81};
82 82
83#endif /* _LINUX_EXT3_FS_SB */ 83#endif /* _LINUX_EXT4_FS_SB */