diff options
Diffstat (limited to 'fs/ext4/orphan.c')
| -rw-r--r-- | fs/ext4/orphan.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/orphan.c b/fs/ext4/orphan.c index 33c3a89396b1..82d5e7501455 100644 --- a/fs/ext4/orphan.c +++ b/fs/ext4/orphan.c @@ -513,7 +513,7 @@ void ext4_release_orphan_info(struct super_block *sb)  		return;  	for (i = 0; i < oi->of_blocks; i++)  		brelse(oi->of_binfo[i].ob_bh); -	kfree(oi->of_binfo); +	kvfree(oi->of_binfo);  }  static struct ext4_orphan_block_tail *ext4_orphan_block_tail( @@ -637,7 +637,7 @@ int ext4_init_orphan_info(struct super_block *sb)  out_free:  	for (i--; i >= 0; i--)  		brelse(oi->of_binfo[i].ob_bh); -	kfree(oi->of_binfo); +	kvfree(oi->of_binfo);  out_put:  	iput(inode);  	return ret;  | 
