summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhujianyang <hujianyang@huawei.com>2014-11-26 16:16:59 +0800
committerMiklos Szeredi <mszeredi@suse.cz>2014-12-13 00:59:52 +0100
commit1ba38725a351f91769918b132c17fb7fcaf6c2f5 (patch)
tree4580ea105633160027248ef6eeb6c4989312fff7
parenta78d9f0d5d5ca9054703376c7c23c901807ddd87 (diff)
downloadlinux-1ba38725a351f91769918b132c17fb7fcaf6c2f5.tar.gz
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 a5bfd60..24f6404 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 48492f1..5ac1236 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 5c495a1..e9ce4a9 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))