diff options
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c index 16256d915cb8..1a5707aaed36 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -465,7 +465,7 @@ err_root: | |||
465 | 465 | ||
466 | static inline int d_revalidate(struct dentry *dentry, struct nameidata *nd) | 466 | static inline int d_revalidate(struct dentry *dentry, struct nameidata *nd) |
467 | { | 467 | { |
468 | return dentry->d_op->d_revalidate(dentry, nd); | 468 | return dentry->d_op->d_revalidate(dentry, nd ? nd->flags : 0); |
469 | } | 469 | } |
470 | 470 | ||
471 | /** | 471 | /** |