if (err >= 0) {
if (sizeof(loff_t) > sizeof(long))
mutex_lock(&inode->i_mutex);
- fsstack_copy_inode_size(inode, file_inode(lower_file));
- fsstack_copy_attr_times(inode, file_inode(lower_file));
+ fsstack_copy_inode_size(inode,
+ lower_file->f_path.dentry->d_inode);
+ fsstack_copy_attr_times(inode,
+ lower_file->f_path.dentry->d_inode);
if (sizeof(loff_t) > sizeof(long))
mutex_unlock(&inode->i_mutex);
}