summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhujianyang <hujianyang@huawei.com>2014-11-26 09:16:59 +0100
committerMiklos Szeredi <mszeredi@suse.cz>2014-12-13 00:59:52 +0100
commit1ba38725a351f91769918b132c17fb7fcaf6c2f5 (patch)
tree4580ea105633160027248ef6eeb6c4989312fff7
parentovl: support multiple lower layers (diff)
downloadlinux-1ba38725a351f91769918b132c17fb7fcaf6c2f5.tar.xz
linux-1ba38725a351f91769918b132c17fb7fcaf6c2f5.zip
ovl: Cleanup redundant blank lines
This patch removes redundant blanks lines in overlayfs. Signed-off-by: hujianyang <hujianyang@huawei.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
-rw-r--r--fs/overlayfs/copy_up.c1
-rw-r--r--fs/overlayfs/inode.c1
-rw-r--r--fs/overlayfs/super.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/fs/overlayfs/copy_up.c b/fs/overlayfs/copy_up.c
index a5bfd60f4f6f..24f640441bd9 100644
--- a/fs/overlayfs/copy_up.c
+++ b/fs/overlayfs/copy_up.c
@@ -191,7 +191,6 @@ int ovl_set_attr(struct dentry *upperdentry, struct kstat *stat)
ovl_set_timestamps(upperdentry, stat);
return err;
-
}
static int ovl_copy_up_locked(struct dentry *workdir, struct dentry *upperdir,
diff --git a/fs/overlayfs/inode.c b/fs/overlayfs/inode.c
index 48492f1240ad..5ac1236afb15 100644
--- a/fs/overlayfs/inode.c
+++ b/fs/overlayfs/inode.c
@@ -433,5 +433,4 @@ struct inode *ovl_new_inode(struct super_block *sb, umode_t mode,
}
return inode;
-
}
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index 5c495a17a5a3..e9ce4a9e8749 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -106,7 +106,6 @@ void ovl_path_upper(struct dentry *dentry, struct path *path)
enum ovl_path_type ovl_path_real(struct dentry *dentry, struct path *path)
{
-
enum ovl_path_type type = ovl_path_type(dentry);
if (!OVL_TYPE_UPPER(type))