summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/copy_up.c
diff options
context:
space:
mode:
authorSohom Bhattacharjee <soham.bhattacharjee15@gmail.com>2016-03-15 20:57:59 +0530
committerMiklos Szeredi <miklos@szeredi.hu>2016-03-21 17:31:45 +0100
commitf134f2446548267330f45b06f14d59aaf1641fdc (patch)
tree8253b9578dba21594bfb15613cd37636a2ba7e95 /fs/overlayfs/copy_up.c
parent45aebeaf4f67468f76bedf62923a576a519a9b68 (diff)
downloadlinux-f134f2446548267330f45b06f14d59aaf1641fdc.tar.bz2
ovl: fixed coding style warning
This patch fixes a newline warning found by the checkpatch.pl tool Signed-off-by: Sohom-Bhattacharjee <soham.bhattacharjee15@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/copy_up.c')
-rw-r--r--fs/overlayfs/copy_up.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/overlayfs/copy_up.c b/fs/overlayfs/copy_up.c
index 959bdcf2f9e8..cc514da6f3e7 100644
--- a/fs/overlayfs/copy_up.c
+++ b/fs/overlayfs/copy_up.c
@@ -267,6 +267,7 @@ static int ovl_copy_up_locked(struct dentry *workdir, struct dentry *upperdir,
if (S_ISREG(stat->mode)) {
struct path upperpath;
+
ovl_path_upper(dentry, &upperpath);
BUG_ON(upperpath.dentry != NULL);
upperpath.dentry = newdentry;