Whamcloud - gitweb
LU-14596 ldiskfs: Fix mounting issues for newer kernels
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / linux-5.4 / ext4-misc.patch
1 diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
2 index 1342fe9..22250a4 100644
3 --- a/fs/ext4/ext4.h
4 +++ b/fs/ext4/ext4.h
5 @@ -2686,6 +2686,8 @@ extern void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap);
6  extern int ext4_init_inode_table(struct super_block *sb,
7                                  ext4_group_t group, int barrier);
8  extern void ext4_end_bitmap_read(struct buffer_head *bh, int uptodate);
9 +extern struct buffer_head *
10 +ext4_read_inode_bitmap(struct super_block *sb, ext4_group_t block_group);
11  
12  /* mballoc.c */
13  extern const struct file_operations ext4_seq_prealloc_table_fops;
14 @@ -2805,6 +2807,10 @@ extern int ext4_ext_migrate(struct inode *);
15  extern int ext4_ind_migrate(struct inode *inode);
16  
17  /* namei.c */
18 +extern struct buffer_head *ext4_append(handle_t *handle,
19 +                                      struct inode *inode,
20 +                                      ext4_lblk_t *block);
21 +
22  extern int ext4_dirblock_csum_verify(struct inode *inode,
23                                      struct buffer_head *bh);
24  extern int ext4_orphan_add(handle_t *, struct inode *);