Skip to content

Commit

Permalink
exfat: fix uninitialized return value on kernel < 4.16
Browse files Browse the repository at this point in the history
Reported-by: kuehnelth <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
  • Loading branch information
namjaejeon committed May 18, 2022
1 parent e7fd355 commit 08b714e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static inline void exfat_d_version_set(struct dentry *dentry,
*/
static int exfat_d_revalidate(struct dentry *dentry, unsigned int flags)
{
int ret;
int ret = 1;

if (flags & LOOKUP_RCU)
return -ECHILD;
Expand Down

0 comments on commit 08b714e

Please sign in to comment.