aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/indirect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/indirect.c b/fs/ext4/indirect.c
index c541ab8b64dd..b505a145a593 100644
--- a/fs/ext4/indirect.c
+++ b/fs/ext4/indirect.c
@@ -1606,7 +1606,7 @@ err:
1606 1606
1607int ext4_ind_punch_hole(struct file *file, loff_t offset, loff_t length) 1607int ext4_ind_punch_hole(struct file *file, loff_t offset, loff_t length)
1608{ 1608{
1609 struct inode *inode = file->f_path.dentry->d_inode; 1609 struct inode *inode = file_inode(file);
1610 struct super_block *sb = inode->i_sb; 1610 struct super_block *sb = inode->i_sb;
1611 ext4_lblk_t first_block, stop_block; 1611 ext4_lblk_t first_block, stop_block;
1612 struct address_space *mapping = inode->i_mapping; 1612 struct address_space *mapping = inode->i_mapping;