Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6eaed0a4 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
  fuse: fix oops in revalidate when called with NULL nameidata
parents 8043f4eb d2433905
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -174,7 +174,7 @@ static int fuse_dentry_revalidate(struct dentry *entry, struct nameidata *nd)
		if (!inode)
		if (!inode)
			return 0;
			return 0;


		if (nd->flags & LOOKUP_RCU)
		if (nd && (nd->flags & LOOKUP_RCU))
			return -ECHILD;
			return -ECHILD;


		fc = get_fuse_conn(inode);
		fc = get_fuse_conn(inode);