Skip to content

Commit 08b714e

Browse files
committed
exfat: fix uninitialized return value on kernel < 4.16
Reported-by: kuehnelth <kuehnelth@gmail.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
1 parent e7fd355 commit 08b714e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

namei.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static inline void exfat_d_version_set(struct dentry *dentry,
3636
*/
3737
static int exfat_d_revalidate(struct dentry *dentry, unsigned int flags)
3838
{
39-
int ret;
39+
int ret = 1;
4040

4141
if (flags & LOOKUP_RCU)
4242
return -ECHILD;

0 commit comments

Comments
 (0)