summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs
diff options
context:
space:
mode:
authorSohom Bhattacharjee <soham.bhattacharjee15@gmail.com>2016-03-15 16:27:59 +0100
committerMiklos Szeredi <miklos@szeredi.hu>2016-03-21 17:31:45 +0100
commitf134f2446548267330f45b06f14d59aaf1641fdc (patch)
tree8253b9578dba21594bfb15613cd37636a2ba7e95 /fs/overlayfs
parentovl: Ensure upper filesystem supports d_type (diff)
downloadlinux-f134f2446548267330f45b06f14d59aaf1641fdc.tar.xz
linux-f134f2446548267330f45b06f14d59aaf1641fdc.zip
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')
-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;