diff options
-rw-r--r-- | fs/overlayfs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/namei.c b/fs/overlayfs/namei.c index 6cc3ece3417d..7d4099143a57 100644 --- a/fs/overlayfs/namei.c +++ b/fs/overlayfs/namei.c | |||
@@ -641,7 +641,7 @@ struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry, | |||
641 | err = ovl_check_origin(upperdentry, roe->lowerstack, | 641 | err = ovl_check_origin(upperdentry, roe->lowerstack, |
642 | roe->numlower, &stack, &ctr); | 642 | roe->numlower, &stack, &ctr); |
643 | if (err) | 643 | if (err) |
644 | goto out; | 644 | goto out_put_upper; |
645 | } | 645 | } |
646 | 646 | ||
647 | if (d.redirect) { | 647 | if (d.redirect) { |