Commit 8692291d authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov

tab-at-eol cleanup

Remove whitespace at EOL (found by git grep '	$')
(the character before $ is real tab, typed in shell using Ctrl+V Tab)

To people using vim, I'd suggest adding the following code to ~/.vimrc:

let c_space_errors = 1
highlight FormatError ctermbg=darkred guibg=darkred
match FormatError /\s\+$\|\ \+\t\|\%80v.\|\ \{8\}/
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 94b09be2
......@@ -287,7 +287,7 @@ static int dump_ghost_remap(char *path, const struct stat *st, int lfd, u32 id)
struct ghost_file *gf;
RemapFilePathEntry rpe = REMAP_FILE_PATH_ENTRY__INIT;
dev_t phys_dev;
pr_info("Dumping ghost file for fd %d id %#x\n", lfd, id);
if (st->st_size > MAX_GHOST_FILE_SIZE) {
......
......@@ -152,7 +152,7 @@ static struct mount_info *mount_resolve_path(const char *path)
dev_t phys_stat_resolve_dev(dev_t st_dev, const char *path)
{
struct mount_info *m;
m = mount_resolve_path(path);
/*
* BTRFS returns subvolume dev-id instead of
......
......@@ -69,7 +69,7 @@ size_last=$(du -sh -BK dump/2/pages-*.img | grep -Eo '[0-9]+' | head -1)
dedup_ok=1
if [ $size_first -gt $size_last ]; then
dedup_ok=0
dedup_ok=0
fi
echo "Restoring"
......
......@@ -74,7 +74,7 @@ size_last=$(du -sh -BK dump/2/pages-*.img | grep -Eo '[0-9]+' | head -1)
dedup_ok=1
if [ $size_first -gt $size_last ]; then
dedup_ok=0
dedup_ok=0
fi
echo "Restoring"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment