i_size_write"
I accidentally merged the 3.18 patch, using a different way to access
the lower file's inode. Use the 3.10 technique instead.
Change-Id: Iea18abcb24cce9afa23e870af8beb31767d67250
Signed-off-by: Corinna Vinschen <xda@vinschen.de>
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);
}