diff options
-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 cf0db005d2f5..acb3d63bc9dc 100644 --- a/fs/configfs/dir.c +++ b/fs/configfs/dir.c | |||
@@ -1598,7 +1598,7 @@ static loff_t configfs_dir_lseek(struct file *file, loff_t offset, int whence) | |||
1598 | if (offset >= 0) | 1598 | if (offset >= 0) |
1599 | break; | 1599 | break; |
1600 | default: | 1600 | default: |
1601 | mutex_unlock(&file_inode(file)->i_mutex); | 1601 | mutex_unlock(&dentry->d_inode->i_mutex); |
1602 | return -EINVAL; | 1602 | return -EINVAL; |
1603 | } | 1603 | } |
1604 | if (offset != file->f_pos) { | 1604 | if (offset != file->f_pos) { |