diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-27 16:59:05 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-27 16:59:05 -0500 |
commit | 6131ffaa1f091415b7a24abb01f033d9c0a727f4 (patch) | |
tree | 8983574e9458a5328a30900cb3466e3648421355 /fs/ext4 | |
parent | 45e09bd51b2be1fbb86c2e3d5bb00d32744f1ecb (diff) |
more file_inode() open-coded instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/indirect.c | 2 |
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 | ||
1607 | int ext4_ind_punch_hole(struct file *file, loff_t offset, loff_t length) | 1607 | int 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; |