mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse: fuse: fix oops in revalidate when called with NULL nameidata
This commit is contained in:
commit
6eaed0a438
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue