File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1841,7 +1841,6 @@ int ext4_try_to_evict_inline_data(handle_t *handle,
18411841{
18421842 int error ;
18431843 struct ext4_xattr_entry * entry ;
1844- struct ext4_xattr_ibody_header * header ;
18451844 struct ext4_inode * raw_inode ;
18461845 struct ext4_iloc iloc ;
18471846
@@ -1850,7 +1849,6 @@ int ext4_try_to_evict_inline_data(handle_t *handle,
18501849 return error ;
18511850
18521851 raw_inode = ext4_raw_inode (& iloc );
1853- header = IHDR (inode , raw_inode );
18541852 entry = (struct ext4_xattr_entry * )((void * )raw_inode +
18551853 EXT4_I (inode )-> i_inline_off );
18561854 if (EXT4_XATTR_LEN (entry -> e_name_len ) +
Original file line number Diff line number Diff line change @@ -101,9 +101,8 @@ static long swap_inode_boot_loader(struct super_block *sb,
101101 handle_t * handle ;
102102 int err ;
103103 struct inode * inode_bl ;
104- struct ext4_inode_info * ei ;
105104 struct ext4_inode_info * ei_bl ;
106- struct ext4_sb_info * sbi ;
105+ struct ext4_sb_info * sbi = EXT4_SB ( sb ) ;
107106
108107 if (inode -> i_nlink != 1 || !S_ISREG (inode -> i_mode )) {
109108 err = - EINVAL ;
@@ -115,9 +114,6 @@ static long swap_inode_boot_loader(struct super_block *sb,
115114 goto swap_boot_out ;
116115 }
117116
118- sbi = EXT4_SB (sb );
119- ei = EXT4_I (inode );
120-
121117 inode_bl = ext4_iget (sb , EXT4_BOOT_LOADER_INO );
122118 if (IS_ERR (inode_bl )) {
123119 err = PTR_ERR (inode_bl );
You can’t perform that action at this time.
0 commit comments