summaryrefslogtreecommitdiffstats
path: root/bitmap.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-12-14 20:13:43 +1100
committerNeil Brown <neilb@suse.de>2007-12-14 20:13:43 +1100
commitaba69144fd44fc261c943b0cec540751cfcd29bd (patch)
tree56aebc333f4ebf597efd556381470665ddc14c14 /bitmap.c
parent08e43379e5e01c8386e7f68f760e11cbe1e42210 (diff)
downloadmdadm-aba69144fd44fc261c943b0cec540751cfcd29bd.tar.gz
mdadm-aba69144fd44fc261c943b0cec540751cfcd29bd.tar.xz
mdadm-aba69144fd44fc261c943b0cec540751cfcd29bd.zip
Remove spaces/tabs from ends of lines.
Diffstat (limited to 'bitmap.c')
-rw-r--r--bitmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitmap.c b/bitmap.c
index dcea263..db2342b 100644
--- a/bitmap.c
+++ b/bitmap.c
@@ -152,7 +152,7 @@ bitmap_info_t *bitmap_fd_read(int fd, int brief)
skip = sizeof(info->sb);
sb_le_to_cpu(&info->sb); /* convert superblock to CPU byte ordering */
-
+
if (brief || info->sb.sync_size == 0)
goto out;
@@ -219,7 +219,7 @@ bitmap_info_t *bitmap_file_read(char *filename, int brief, struct supertype **st
if (!st) {
/* just look at device... */
lseek(fd, 0, 0);
- } else {
+ } else {
st->ss->locate_bitmap(st, fd, NULL);
}
ioctl(fd, BLKFLSBUF, 0); /* make sure we read current data */
@@ -398,7 +398,7 @@ int CreateBitmap(char *filename, int force, char uuid[16],
}
bytes -= sizeof(block);
}
-
+
rv = 0;
fflush(fp);
/* make the file be the right size (well, to the nearest byte) */