diff options
Diffstat (limited to 'fs/fat/inode.c')
-rw-r--r-- | fs/fat/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 24c0aaa5ae80..3a3d491bbcfe 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
@@ -760,7 +760,7 @@ static struct dentry *fat_get_parent(struct dentry *child) | |||
760 | inode = fat_build_inode(child->d_sb, de, i_pos); | 760 | inode = fat_build_inode(child->d_sb, de, i_pos); |
761 | brelse(bh); | 761 | brelse(bh); |
762 | if (IS_ERR(inode)) { | 762 | if (IS_ERR(inode)) { |
763 | parent = ERR_PTR(PTR_ERR(inode)); | 763 | parent = ERR_CAST(inode); |
764 | goto out; | 764 | goto out; |
765 | } | 765 | } |
766 | parent = d_alloc_anon(inode); | 766 | parent = d_alloc_anon(inode); |