diff options
Diffstat (limited to 'fs/configfs/dir.c')
-rw-r--r-- | fs/configfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/configfs/dir.c b/fs/configfs/dir.c index 712b10f64c70..90d222f11e36 100644 --- a/fs/configfs/dir.c +++ b/fs/configfs/dir.c | |||
@@ -1625,7 +1625,7 @@ static loff_t configfs_dir_lseek(struct file *file, loff_t offset, int whence) | |||
1625 | if (offset >= 0) | 1625 | if (offset >= 0) |
1626 | break; | 1626 | break; |
1627 | default: | 1627 | default: |
1628 | mutex_unlock(&file->f_path.dentry->d_inode->i_mutex); | 1628 | mutex_unlock(&file_inode(file)->i_mutex); |
1629 | return -EINVAL; | 1629 | return -EINVAL; |
1630 | } | 1630 | } |
1631 | if (offset != file->f_pos) { | 1631 | if (offset != file->f_pos) { |