ext4.h (ff9893dc8aa622a4f122293a6861566a284edea5) ext4.h (1f7d1e77419050831a905353683807fa69a26625)
1/*
2 * ext4.h
3 *
4 * Copyright (C) 1992, 1993, 1994, 1995
5 * Remy Card (card@masi.ibp.fr)
6 * Laboratoire MASI - Institut Blaise Pascal
7 * Universite Pierre et Marie Curie (Paris VI)
8 *

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

2120
2121static inline void ext4_mark_super_dirty(struct super_block *sb)
2122{
2123 if (EXT4_SB(sb)->s_journal == NULL)
2124 sb->s_dirt =1;
2125}
2126
2127/*
1/*
2 * ext4.h
3 *
4 * Copyright (C) 1992, 1993, 1994, 1995
5 * Remy Card (card@masi.ibp.fr)
6 * Laboratoire MASI - Institut Blaise Pascal
7 * Universite Pierre et Marie Curie (Paris VI)
8 *

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

2120
2121static inline void ext4_mark_super_dirty(struct super_block *sb)
2122{
2123 if (EXT4_SB(sb)->s_journal == NULL)
2124 sb->s_dirt =1;
2125}
2126
2127/*
2128 * Block validity checking
2129 */
2130#define ext4_check_indirect_blockref(inode, bh) \
2131 ext4_check_blockref(__func__, __LINE__, inode, \
2132 (__le32 *)(bh)->b_data, \
2133 EXT4_ADDR_PER_BLOCK((inode)->i_sb))
2134
2135#define ext4_ind_check_inode(inode) \
2136 ext4_check_blockref(__func__, __LINE__, inode, \
2137 EXT4_I(inode)->i_data, \
2138 EXT4_NDIR_BLOCKS)
2139
2140/*
2128 * Inodes and files operations
2129 */
2130
2131/* dir.c */
2132extern const struct file_operations ext4_dir_operations;
2133
2134/* file.c */
2135extern const struct inode_operations ext4_file_inode_operations;

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

2148/* block_validity */
2149extern void ext4_release_system_zone(struct super_block *sb);
2150extern int ext4_setup_system_zone(struct super_block *sb);
2151extern int __init ext4_init_system_zone(void);
2152extern void ext4_exit_system_zone(void);
2153extern int ext4_data_block_valid(struct ext4_sb_info *sbi,
2154 ext4_fsblk_t start_blk,
2155 unsigned int count);
2141 * Inodes and files operations
2142 */
2143
2144/* dir.c */
2145extern const struct file_operations ext4_dir_operations;
2146
2147/* file.c */
2148extern const struct inode_operations ext4_file_inode_operations;

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

2161/* block_validity */
2162extern void ext4_release_system_zone(struct super_block *sb);
2163extern int ext4_setup_system_zone(struct super_block *sb);
2164extern int __init ext4_init_system_zone(void);
2165extern void ext4_exit_system_zone(void);
2166extern int ext4_data_block_valid(struct ext4_sb_info *sbi,
2167 ext4_fsblk_t start_blk,
2168 unsigned int count);
2169extern int ext4_check_blockref(const char *, unsigned int,
2170 struct inode *, __le32 *, unsigned int);
2156
2157/* extents.c */
2158extern int ext4_ext_tree_init(handle_t *handle, struct inode *);
2159extern int ext4_ext_writepage_trans_blocks(struct inode *, int);
2160extern int ext4_ext_index_trans_blocks(struct inode *inode, int nrblocks,
2161 int chunk);
2162extern int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
2163 struct ext4_map_blocks *map, int flags);

--- 74 unchanged lines hidden ---
2171
2172/* extents.c */
2173extern int ext4_ext_tree_init(handle_t *handle, struct inode *);
2174extern int ext4_ext_writepage_trans_blocks(struct inode *, int);
2175extern int ext4_ext_index_trans_blocks(struct inode *inode, int nrblocks,
2176 int chunk);
2177extern int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
2178 struct ext4_map_blocks *map, int flags);

--- 74 unchanged lines hidden ---