diff options
Diffstat (limited to 'fs/vfat/namei.c')
| -rw-r--r-- | fs/vfat/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/vfat/namei.c b/fs/vfat/namei.c index c28add2fbe95..cd450bea9f1a 100644 --- a/fs/vfat/namei.c +++ b/fs/vfat/namei.c | |||
| @@ -705,7 +705,7 @@ static struct dentry *vfat_lookup(struct inode *dir, struct dentry *dentry, | |||
| 705 | brelse(sinfo.bh); | 705 | brelse(sinfo.bh); |
| 706 | if (IS_ERR(inode)) { | 706 | if (IS_ERR(inode)) { |
| 707 | unlock_kernel(); | 707 | unlock_kernel(); |
| 708 | return ERR_PTR(PTR_ERR(inode)); | 708 | return ERR_CAST(inode); |
| 709 | } | 709 | } |
| 710 | alias = d_find_alias(inode); | 710 | alias = d_find_alias(inode); |
| 711 | if (alias) { | 711 | if (alias) { |
