aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
author"Robert P. J. Day" <rpjday@mindspring.com>2006-07-02 19:47:05 +0000
committer"Robert P. J. Day" <rpjday@mindspring.com>2006-07-02 19:47:05 +0000
commit63fc1a9e08fabfc8ba96bad80731673ef40bf5cb (patch)
tree281a0ba5d442380d600e78ee09a775a2181dc55f /e2fsprogs
parent087b9d640ed66f37249c09885fa86b27a78554c7 (diff)
downloadbusybox-63fc1a9e08fabfc8ba96bad80731673ef40bf5cb.tar.gz
Standardize on the vi editing directives being on the first line.
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/blkid/blkid.h1
-rw-r--r--e2fsprogs/blkid/blkidP.h1
-rw-r--r--e2fsprogs/blkid/blkid_getsize.c1
-rw-r--r--e2fsprogs/blkid/cache.c1
-rw-r--r--e2fsprogs/blkid/dev.c1
-rw-r--r--e2fsprogs/blkid/devname.c1
-rw-r--r--e2fsprogs/blkid/devno.c1
-rw-r--r--e2fsprogs/blkid/list.h1
-rw-r--r--e2fsprogs/blkid/probe.c1
-rw-r--r--e2fsprogs/blkid/probe.h1
-rw-r--r--e2fsprogs/blkid/read.c1
-rw-r--r--e2fsprogs/blkid/resolve.c1
-rw-r--r--e2fsprogs/blkid/save.c1
-rw-r--r--e2fsprogs/blkid/tag.c1
-rw-r--r--e2fsprogs/blkid/version.c1
-rw-r--r--e2fsprogs/chattr.c1
-rw-r--r--e2fsprogs/e2fsbb.h1
-rw-r--r--e2fsprogs/e2fsck.c1
-rw-r--r--e2fsprogs/e2fsck.h1
-rw-r--r--e2fsprogs/e2p/e2p.h1
-rw-r--r--e2fsprogs/e2p/feature.c1
-rw-r--r--e2fsprogs/e2p/fgetsetflags.c1
-rw-r--r--e2fsprogs/e2p/fgetsetversion.c1
-rw-r--r--e2fsprogs/e2p/hashstr.c1
-rw-r--r--e2fsprogs/e2p/iod.c1
-rw-r--r--e2fsprogs/e2p/ls.c1
-rw-r--r--e2fsprogs/e2p/mntopts.c1
-rw-r--r--e2fsprogs/e2p/ostype.c1
-rw-r--r--e2fsprogs/e2p/parse_num.c1
-rw-r--r--e2fsprogs/e2p/pe.c1
-rw-r--r--e2fsprogs/e2p/pf.c1
-rw-r--r--e2fsprogs/e2p/ps.c1
-rw-r--r--e2fsprogs/e2p/uuid.c1
-rw-r--r--e2fsprogs/ext2fs/alloc.c1
-rw-r--r--e2fsprogs/ext2fs/alloc_sb.c1
-rw-r--r--e2fsprogs/ext2fs/alloc_stats.c1
-rw-r--r--e2fsprogs/ext2fs/alloc_tables.c1
-rw-r--r--e2fsprogs/ext2fs/badblocks.c1
-rw-r--r--e2fsprogs/ext2fs/bb_compat.c1
-rw-r--r--e2fsprogs/ext2fs/bb_inode.c1
-rw-r--r--e2fsprogs/ext2fs/bitmaps.c1
-rw-r--r--e2fsprogs/ext2fs/bitops.c1
-rw-r--r--e2fsprogs/ext2fs/bitops.h1
-rw-r--r--e2fsprogs/ext2fs/block.c1
-rw-r--r--e2fsprogs/ext2fs/bmap.c1
-rw-r--r--e2fsprogs/ext2fs/bmove.c1
-rw-r--r--e2fsprogs/ext2fs/brel.h1
-rw-r--r--e2fsprogs/ext2fs/brel_ma.c1
-rw-r--r--e2fsprogs/ext2fs/check_desc.c1
-rw-r--r--e2fsprogs/ext2fs/closefs.c1
-rw-r--r--e2fsprogs/ext2fs/cmp_bitmaps.c1
-rw-r--r--e2fsprogs/ext2fs/dblist.c1
-rw-r--r--e2fsprogs/ext2fs/dblist_dir.c1
-rw-r--r--e2fsprogs/ext2fs/dir_iterate.c1
-rw-r--r--e2fsprogs/ext2fs/dirblock.c1
-rw-r--r--e2fsprogs/ext2fs/dirhash.c1
-rw-r--r--e2fsprogs/ext2fs/dupfs.c1
-rw-r--r--e2fsprogs/ext2fs/e2image.h1
-rw-r--r--e2fsprogs/ext2fs/expanddir.c1
-rw-r--r--e2fsprogs/ext2fs/ext2_err.h1
-rw-r--r--e2fsprogs/ext2fs/ext2_ext_attr.h1
-rw-r--r--e2fsprogs/ext2fs/ext2_fs.h1
-rw-r--r--e2fsprogs/ext2fs/ext2_io.h1
-rw-r--r--e2fsprogs/ext2fs/ext2_types.h1
-rw-r--r--e2fsprogs/ext2fs/ext2fs.h1
-rw-r--r--e2fsprogs/ext2fs/ext2fsP.h1
-rw-r--r--e2fsprogs/ext2fs/ext2fs_inline.c1
-rw-r--r--e2fsprogs/ext2fs/ext_attr.c1
-rw-r--r--e2fsprogs/ext2fs/fileio.c1
-rw-r--r--e2fsprogs/ext2fs/finddev.c1
-rw-r--r--e2fsprogs/ext2fs/flushb.c1
-rw-r--r--e2fsprogs/ext2fs/freefs.c1
-rw-r--r--e2fsprogs/ext2fs/gen_bitmap.c1
-rw-r--r--e2fsprogs/ext2fs/get_pathname.c1
-rw-r--r--e2fsprogs/ext2fs/getsectsize.c1
-rw-r--r--e2fsprogs/ext2fs/getsize.c1
-rw-r--r--e2fsprogs/ext2fs/icount.c1
-rw-r--r--e2fsprogs/ext2fs/imager.c1
-rw-r--r--e2fsprogs/ext2fs/ind_block.c1
-rw-r--r--e2fsprogs/ext2fs/initialize.c1
-rw-r--r--e2fsprogs/ext2fs/inline.c1
-rw-r--r--e2fsprogs/ext2fs/inode.c1
-rw-r--r--e2fsprogs/ext2fs/inode_io.c1
-rw-r--r--e2fsprogs/ext2fs/io_manager.c1
-rw-r--r--e2fsprogs/ext2fs/irel.h1
-rw-r--r--e2fsprogs/ext2fs/irel_ma.c1
-rw-r--r--e2fsprogs/ext2fs/ismounted.c1
-rw-r--r--e2fsprogs/ext2fs/jfs_dat.h1
-rw-r--r--e2fsprogs/ext2fs/kernel-jbd.h1
-rw-r--r--e2fsprogs/ext2fs/kernel-list.h1
-rw-r--r--e2fsprogs/ext2fs/link.c1
-rw-r--r--e2fsprogs/ext2fs/lookup.c1
-rw-r--r--e2fsprogs/ext2fs/mkdir.c1
-rw-r--r--e2fsprogs/ext2fs/mkjournal.c1
-rw-r--r--e2fsprogs/ext2fs/namei.c1
-rw-r--r--e2fsprogs/ext2fs/newdir.c1
-rw-r--r--e2fsprogs/ext2fs/openfs.c1
-rw-r--r--e2fsprogs/ext2fs/read_bb.c1
-rw-r--r--e2fsprogs/ext2fs/read_bb_file.c1
-rw-r--r--e2fsprogs/ext2fs/res_gdt.c1
-rw-r--r--e2fsprogs/ext2fs/rs_bitmap.c1
-rw-r--r--e2fsprogs/ext2fs/rw_bitmaps.c1
-rw-r--r--e2fsprogs/ext2fs/sparse.c1
-rw-r--r--e2fsprogs/ext2fs/swapfs.c1
-rw-r--r--e2fsprogs/ext2fs/test_io.c1
-rw-r--r--e2fsprogs/ext2fs/unix_io.c1
-rw-r--r--e2fsprogs/ext2fs/unlink.c1
-rw-r--r--e2fsprogs/ext2fs/valid_blk.c1
-rw-r--r--e2fsprogs/ext2fs/version.c1
-rw-r--r--e2fsprogs/ext2fs/write_bb_file.c1
-rw-r--r--e2fsprogs/fsck.c1
-rw-r--r--e2fsprogs/fsck.h1
-rw-r--r--e2fsprogs/lsattr.c1
-rw-r--r--e2fsprogs/mke2fs.c1
-rw-r--r--e2fsprogs/tune2fs.c1
-rw-r--r--e2fsprogs/util.c1
-rw-r--r--e2fsprogs/util.h1
-rw-r--r--e2fsprogs/uuid/compare.c1
-rw-r--r--e2fsprogs/uuid/gen_uuid.c1
-rw-r--r--e2fsprogs/uuid/pack.c1
-rw-r--r--e2fsprogs/uuid/parse.c1
-rw-r--r--e2fsprogs/uuid/unpack.c1
-rw-r--r--e2fsprogs/uuid/unparse.c1
-rw-r--r--e2fsprogs/uuid/uuid.h1
-rw-r--r--e2fsprogs/uuid/uuidP.h1
-rw-r--r--e2fsprogs/uuid/uuid_time.c1
126 files changed, 126 insertions, 0 deletions
diff --git a/e2fsprogs/blkid/blkid.h b/e2fsprogs/blkid/blkid.h
index c051b2b85..979565e39 100644
--- a/e2fsprogs/blkid/blkid.h
+++ b/e2fsprogs/blkid/blkid.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* blkid.h - Interface for libblkid, a library to identify block devices
*
diff --git a/e2fsprogs/blkid/blkidP.h b/e2fsprogs/blkid/blkidP.h
index 4ae9763d2..c7cb8abe9 100644
--- a/e2fsprogs/blkid/blkidP.h
+++ b/e2fsprogs/blkid/blkidP.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* blkidP.h - Internal interfaces for libblkid
*
diff --git a/e2fsprogs/blkid/blkid_getsize.c b/e2fsprogs/blkid/blkid_getsize.c
index 3bc11e3f4..7a2133f0a 100644
--- a/e2fsprogs/blkid/blkid_getsize.c
+++ b/e2fsprogs/blkid/blkid_getsize.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* getsize.c --- get the size of a partition.
*
diff --git a/e2fsprogs/blkid/cache.c b/e2fsprogs/blkid/cache.c
index 9c9b8c7e4..57118e1d4 100644
--- a/e2fsprogs/blkid/cache.c
+++ b/e2fsprogs/blkid/cache.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* cache.c - allocation/initialization/free routines for cache
*
diff --git a/e2fsprogs/blkid/dev.c b/e2fsprogs/blkid/dev.c
index 5d56c5096..6d99504af 100644
--- a/e2fsprogs/blkid/dev.c
+++ b/e2fsprogs/blkid/dev.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* dev.c - allocation/initialization/free routines for dev
*
diff --git a/e2fsprogs/blkid/devname.c b/e2fsprogs/blkid/devname.c
index 1e016a55d..b5c1bc9a8 100644
--- a/e2fsprogs/blkid/devname.c
+++ b/e2fsprogs/blkid/devname.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* devname.c - get a dev by its device inode name
*
diff --git a/e2fsprogs/blkid/devno.c b/e2fsprogs/blkid/devno.c
index 89119945c..f3fa5c0cf 100644
--- a/e2fsprogs/blkid/devno.c
+++ b/e2fsprogs/blkid/devno.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* devno.c - find a particular device by its device number (major/minor)
*
diff --git a/e2fsprogs/blkid/list.h b/e2fsprogs/blkid/list.h
index c1cbfec59..cbf16a059 100644
--- a/e2fsprogs/blkid/list.h
+++ b/e2fsprogs/blkid/list.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
#if !defined(_BLKID_LIST_H) && !defined(LIST_HEAD)
#define _BLKID_LIST_H
diff --git a/e2fsprogs/blkid/probe.c b/e2fsprogs/blkid/probe.c
index 03bbc749c..211569779 100644
--- a/e2fsprogs/blkid/probe.c
+++ b/e2fsprogs/blkid/probe.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* probe.c - identify a block device by its contents, and return a dev
* struct with the details
diff --git a/e2fsprogs/blkid/probe.h b/e2fsprogs/blkid/probe.h
index 134913f59..e1b65246a 100644
--- a/e2fsprogs/blkid/probe.h
+++ b/e2fsprogs/blkid/probe.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* probe.h - constants and on-disk structures for extracting device data
*
diff --git a/e2fsprogs/blkid/read.c b/e2fsprogs/blkid/read.c
index a2a8bb59e..e954c6d94 100644
--- a/e2fsprogs/blkid/read.c
+++ b/e2fsprogs/blkid/read.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* read.c - read the blkid cache from disk, to avoid scanning all devices
*
diff --git a/e2fsprogs/blkid/resolve.c b/e2fsprogs/blkid/resolve.c
index 40d999a1b..4c4383001 100644
--- a/e2fsprogs/blkid/resolve.c
+++ b/e2fsprogs/blkid/resolve.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* resolve.c - resolve names and tags into specific devices
*
diff --git a/e2fsprogs/blkid/save.c b/e2fsprogs/blkid/save.c
index 98d8d0260..cdbaabcb1 100644
--- a/e2fsprogs/blkid/save.c
+++ b/e2fsprogs/blkid/save.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* save.c - write the cache struct to disk
*
diff --git a/e2fsprogs/blkid/tag.c b/e2fsprogs/blkid/tag.c
index 61642464d..ff10b28e2 100644
--- a/e2fsprogs/blkid/tag.c
+++ b/e2fsprogs/blkid/tag.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* tag.c - allocation/initialization/free routines for tag structs
*
diff --git a/e2fsprogs/blkid/version.c b/e2fsprogs/blkid/version.c
index ea30d0c9f..d076de04d 100644
--- a/e2fsprogs/blkid/version.c
+++ b/e2fsprogs/blkid/version.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* version.c --- Return the version of the blkid library
*
diff --git a/e2fsprogs/chattr.c b/e2fsprogs/chattr.c
index c39003821..2cb75e86f 100644
--- a/e2fsprogs/chattr.c
+++ b/e2fsprogs/chattr.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* chattr.c - Change file attributes on an ext2 file system
*
diff --git a/e2fsprogs/e2fsbb.h b/e2fsprogs/e2fsbb.h
index 975e5676c..78e7cbd04 100644
--- a/e2fsprogs/e2fsbb.h
+++ b/e2fsprogs/e2fsbb.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* File: e2fsbb.h
*
diff --git a/e2fsprogs/e2fsck.c b/e2fsprogs/e2fsck.c
index 0d151ef80..0282d328f 100644
--- a/e2fsprogs/e2fsck.c
+++ b/e2fsprogs/e2fsck.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* e2fsck
*
diff --git a/e2fsprogs/e2fsck.h b/e2fsprogs/e2fsck.h
index 4bfe7600e..52db828a9 100644
--- a/e2fsprogs/e2fsck.h
+++ b/e2fsprogs/e2fsck.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
diff --git a/e2fsprogs/e2p/e2p.h b/e2fsprogs/e2p/e2p.h
index d4a8c0eda..2a2367b9f 100644
--- a/e2fsprogs/e2p/e2p.h
+++ b/e2fsprogs/e2p/e2p.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
#include "busybox.h"
#include <sys/types.h> /* Needed by dirent.h on netbsd */
#include <stdio.h>
diff --git a/e2fsprogs/e2p/feature.c b/e2fsprogs/e2p/feature.c
index 0a9058384..602c2ff02 100644
--- a/e2fsprogs/e2p/feature.c
+++ b/e2fsprogs/e2p/feature.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* feature.c --- convert between features and strings
*
diff --git a/e2fsprogs/e2p/fgetsetflags.c b/e2fsprogs/e2p/fgetsetflags.c
index 0a9f5359a..86bf65d50 100644
--- a/e2fsprogs/e2p/fgetsetflags.c
+++ b/e2fsprogs/e2p/fgetsetflags.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* fgetflags.c - Get a file flags on an ext2 file system
* fsetflags.c - Set a file flags on an ext2 file system
diff --git a/e2fsprogs/e2p/fgetsetversion.c b/e2fsprogs/e2p/fgetsetversion.c
index 8227ab3be..48cea9df4 100644
--- a/e2fsprogs/e2p/fgetsetversion.c
+++ b/e2fsprogs/e2p/fgetsetversion.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* fgetversion.c - Get a file version on an ext2 file system
* fsetversion.c - Set a file version on an ext2 file system
diff --git a/e2fsprogs/e2p/hashstr.c b/e2fsprogs/e2p/hashstr.c
index 705f63ae0..697ffadc3 100644
--- a/e2fsprogs/e2p/hashstr.c
+++ b/e2fsprogs/e2p/hashstr.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* feature.c --- convert between features and strings
*
diff --git a/e2fsprogs/e2p/iod.c b/e2fsprogs/e2p/iod.c
index 5321f2da1..8d4c5cdcb 100644
--- a/e2fsprogs/e2p/iod.c
+++ b/e2fsprogs/e2p/iod.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* iod.c - Iterate a function on each entry of a directory
*
diff --git a/e2fsprogs/e2p/ls.c b/e2fsprogs/e2p/ls.c
index ee83ab64c..e2a1ccb3d 100644
--- a/e2fsprogs/e2p/ls.c
+++ b/e2fsprogs/e2p/ls.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* ls.c - List the contents of an ext2fs superblock
*
diff --git a/e2fsprogs/e2p/mntopts.c b/e2fsprogs/e2p/mntopts.c
index b27f78ed9..1ec3402f7 100644
--- a/e2fsprogs/e2p/mntopts.c
+++ b/e2fsprogs/e2p/mntopts.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* mountopts.c --- convert between default mount options and strings
*
diff --git a/e2fsprogs/e2p/ostype.c b/e2fsprogs/e2p/ostype.c
index 2ea59cbe1..d55f98bb2 100644
--- a/e2fsprogs/e2p/ostype.c
+++ b/e2fsprogs/e2p/ostype.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* getostype.c - Get the Filesystem OS type
*
diff --git a/e2fsprogs/e2p/parse_num.c b/e2fsprogs/e2p/parse_num.c
index 81c160544..6db076f9c 100644
--- a/e2fsprogs/e2p/parse_num.c
+++ b/e2fsprogs/e2p/parse_num.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* parse_num.c - Parse the number of blocks
*
diff --git a/e2fsprogs/e2p/pe.c b/e2fsprogs/e2p/pe.c
index 07fb88694..835274b54 100644
--- a/e2fsprogs/e2p/pe.c
+++ b/e2fsprogs/e2p/pe.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* pe.c - Print a second extended filesystem errors behavior
*
diff --git a/e2fsprogs/e2p/pf.c b/e2fsprogs/e2p/pf.c
index da8357a46..55d4bc487 100644
--- a/e2fsprogs/e2p/pf.c
+++ b/e2fsprogs/e2p/pf.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* pf.c - Print file attributes on an ext2 file system
*
diff --git a/e2fsprogs/e2p/ps.c b/e2fsprogs/e2p/ps.c
index b7c0ee2f1..d1067388a 100644
--- a/e2fsprogs/e2p/ps.c
+++ b/e2fsprogs/e2p/ps.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* ps.c - Print filesystem state
*
diff --git a/e2fsprogs/e2p/uuid.c b/e2fsprogs/e2p/uuid.c
index cb4ec8072..474d64a5a 100644
--- a/e2fsprogs/e2p/uuid.c
+++ b/e2fsprogs/e2p/uuid.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* uuid.c -- utility routines for manipulating UUID's.
*/
diff --git a/e2fsprogs/ext2fs/alloc.c b/e2fsprogs/ext2fs/alloc.c
index d56ef2566..590f23a7e 100644
--- a/e2fsprogs/ext2fs/alloc.c
+++ b/e2fsprogs/ext2fs/alloc.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* alloc.c --- allocate new inodes, blocks for ext2fs
*
diff --git a/e2fsprogs/ext2fs/alloc_sb.c b/e2fsprogs/ext2fs/alloc_sb.c
index aa2cd0568..a7437c96f 100644
--- a/e2fsprogs/ext2fs/alloc_sb.c
+++ b/e2fsprogs/ext2fs/alloc_sb.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* alloc_sb.c --- Allocate the superblock and block group descriptors for a
* newly initialized filesystem. Used by mke2fs when initializing a filesystem
diff --git a/e2fsprogs/ext2fs/alloc_stats.c b/e2fsprogs/ext2fs/alloc_stats.c
index 32aa0b6bc..f3ab06a23 100644
--- a/e2fsprogs/ext2fs/alloc_stats.c
+++ b/e2fsprogs/ext2fs/alloc_stats.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* alloc_stats.c --- Update allocation statistics for ext2fs
*
diff --git a/e2fsprogs/ext2fs/alloc_tables.c b/e2fsprogs/ext2fs/alloc_tables.c
index 10f1f95a4..b2d786ed8 100644
--- a/e2fsprogs/ext2fs/alloc_tables.c
+++ b/e2fsprogs/ext2fs/alloc_tables.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* alloc_tables.c --- Allocate tables for a newly initialized
* filesystem. Used by mke2fs when initializing a filesystem
diff --git a/e2fsprogs/ext2fs/badblocks.c b/e2fsprogs/ext2fs/badblocks.c
index d82041126..7804396d7 100644
--- a/e2fsprogs/ext2fs/badblocks.c
+++ b/e2fsprogs/ext2fs/badblocks.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* badblocks.c --- routines to manipulate the bad block structure
*
diff --git a/e2fsprogs/ext2fs/bb_compat.c b/e2fsprogs/ext2fs/bb_compat.c
index 5a158b34c..419ac7785 100644
--- a/e2fsprogs/ext2fs/bb_compat.c
+++ b/e2fsprogs/ext2fs/bb_compat.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* bb_compat.c --- compatibility badblocks routines
*
diff --git a/e2fsprogs/ext2fs/bb_inode.c b/e2fsprogs/ext2fs/bb_inode.c
index 8a840d9d7..855f86eac 100644
--- a/e2fsprogs/ext2fs/bb_inode.c
+++ b/e2fsprogs/ext2fs/bb_inode.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* bb_inode.c --- routines to update the bad block inode.
*
diff --git a/e2fsprogs/ext2fs/bitmaps.c b/e2fsprogs/ext2fs/bitmaps.c
index 932c345fa..712a4a9b1 100644
--- a/e2fsprogs/ext2fs/bitmaps.c
+++ b/e2fsprogs/ext2fs/bitmaps.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* bitmaps.c --- routines to read, write, and manipulate the inode and
* block bitmaps.
diff --git a/e2fsprogs/ext2fs/bitops.c b/e2fsprogs/ext2fs/bitops.c
index 44c08ad9f..987061130 100644
--- a/e2fsprogs/ext2fs/bitops.c
+++ b/e2fsprogs/ext2fs/bitops.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* bitops.c --- Bitmap frobbing code. See bitops.h for the inlined
* routines.
diff --git a/e2fsprogs/ext2fs/bitops.h b/e2fsprogs/ext2fs/bitops.h
index 922c31c85..6dd30862b 100644
--- a/e2fsprogs/ext2fs/bitops.h
+++ b/e2fsprogs/ext2fs/bitops.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* bitops.h --- Bitmap frobbing code. The byte swapping routines are
* also included here.
diff --git a/e2fsprogs/ext2fs/block.c b/e2fsprogs/ext2fs/block.c
index 94e96c5c4..0a757b201 100644
--- a/e2fsprogs/ext2fs/block.c
+++ b/e2fsprogs/ext2fs/block.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* block.c --- iterate over all blocks in an inode
*
diff --git a/e2fsprogs/ext2fs/bmap.c b/e2fsprogs/ext2fs/bmap.c
index 0015ba288..b22fe3dbf 100644
--- a/e2fsprogs/ext2fs/bmap.c
+++ b/e2fsprogs/ext2fs/bmap.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* bmap.c --- logical to physical block mapping
*
diff --git a/e2fsprogs/ext2fs/bmove.c b/e2fsprogs/ext2fs/bmove.c
index 8db905164..635410da5 100644
--- a/e2fsprogs/ext2fs/bmove.c
+++ b/e2fsprogs/ext2fs/bmove.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* bmove.c --- Move blocks around to make way for a particular
* filesystem structure.
diff --git a/e2fsprogs/ext2fs/brel.h b/e2fsprogs/ext2fs/brel.h
index a7f977658..216fd132c 100644
--- a/e2fsprogs/ext2fs/brel.h
+++ b/e2fsprogs/ext2fs/brel.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* brel.h
*
diff --git a/e2fsprogs/ext2fs/brel_ma.c b/e2fsprogs/ext2fs/brel_ma.c
index 557143d51..652a3509c 100644
--- a/e2fsprogs/ext2fs/brel_ma.c
+++ b/e2fsprogs/ext2fs/brel_ma.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* brel_ma.c
*
diff --git a/e2fsprogs/ext2fs/check_desc.c b/e2fsprogs/ext2fs/check_desc.c
index eab8c7bc8..dd4b0e9cf 100644
--- a/e2fsprogs/ext2fs/check_desc.c
+++ b/e2fsprogs/ext2fs/check_desc.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* check_desc.c --- Check the group descriptors of an ext2 filesystem
*
diff --git a/e2fsprogs/ext2fs/closefs.c b/e2fsprogs/ext2fs/closefs.c
index 40a697496..3531cdce7 100644
--- a/e2fsprogs/ext2fs/closefs.c
+++ b/e2fsprogs/ext2fs/closefs.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* closefs.c --- close an ext2 filesystem
*
diff --git a/e2fsprogs/ext2fs/cmp_bitmaps.c b/e2fsprogs/ext2fs/cmp_bitmaps.c
index fa45a4331..05b8eb8d7 100644
--- a/e2fsprogs/ext2fs/cmp_bitmaps.c
+++ b/e2fsprogs/ext2fs/cmp_bitmaps.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* cmp_bitmaps.c --- routines to compare inode and block bitmaps.
*
diff --git a/e2fsprogs/ext2fs/dblist.c b/e2fsprogs/ext2fs/dblist.c
index aaac3b394..06ff6d807 100644
--- a/e2fsprogs/ext2fs/dblist.c
+++ b/e2fsprogs/ext2fs/dblist.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* dblist.c -- directory block list functions
*
diff --git a/e2fsprogs/ext2fs/dblist_dir.c b/e2fsprogs/ext2fs/dblist_dir.c
index 20b1cde46..b23920466 100644
--- a/e2fsprogs/ext2fs/dblist_dir.c
+++ b/e2fsprogs/ext2fs/dblist_dir.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* dblist_dir.c --- iterate by directory entry
*
diff --git a/e2fsprogs/ext2fs/dir_iterate.c b/e2fsprogs/ext2fs/dir_iterate.c
index df820feaa..b7d873595 100644
--- a/e2fsprogs/ext2fs/dir_iterate.c
+++ b/e2fsprogs/ext2fs/dir_iterate.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* dir_iterate.c --- ext2fs directory iteration operations
*
diff --git a/e2fsprogs/ext2fs/dirblock.c b/e2fsprogs/ext2fs/dirblock.c
index 4f2bbc11f..43e8e6eb0 100644
--- a/e2fsprogs/ext2fs/dirblock.c
+++ b/e2fsprogs/ext2fs/dirblock.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* dirblock.c --- directory block routines.
*
diff --git a/e2fsprogs/ext2fs/dirhash.c b/e2fsprogs/ext2fs/dirhash.c
index 39678a628..ab3243fd7 100644
--- a/e2fsprogs/ext2fs/dirhash.c
+++ b/e2fsprogs/ext2fs/dirhash.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* dirhash.c -- Calculate the hash of a directory entry
*
diff --git a/e2fsprogs/ext2fs/dupfs.c b/e2fsprogs/ext2fs/dupfs.c
index 2009ef701..203c29fe3 100644
--- a/e2fsprogs/ext2fs/dupfs.c
+++ b/e2fsprogs/ext2fs/dupfs.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* dupfs.c --- duplicate a ext2 filesystem handle
*
diff --git a/e2fsprogs/ext2fs/e2image.h b/e2fsprogs/ext2fs/e2image.h
index c05d43e22..8d38ecc13 100644
--- a/e2fsprogs/ext2fs/e2image.h
+++ b/e2fsprogs/ext2fs/e2image.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* e2image.h --- header file describing the ext2 image format
*
diff --git a/e2fsprogs/ext2fs/expanddir.c b/e2fsprogs/ext2fs/expanddir.c
index c148b93aa..8a29ae584 100644
--- a/e2fsprogs/ext2fs/expanddir.c
+++ b/e2fsprogs/ext2fs/expanddir.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* expand.c --- expand an ext2fs directory
*
diff --git a/e2fsprogs/ext2fs/ext2_err.h b/e2fsprogs/ext2fs/ext2_err.h
index a2a506f9a..ead352810 100644
--- a/e2fsprogs/ext2fs/ext2_err.h
+++ b/e2fsprogs/ext2fs/ext2_err.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* ext2_err.h:
* This file is automatically generated; please do not edit it.
diff --git a/e2fsprogs/ext2fs/ext2_ext_attr.h b/e2fsprogs/ext2fs/ext2_ext_attr.h
index 79f23ee9a..cc91bb8d6 100644
--- a/e2fsprogs/ext2fs/ext2_ext_attr.h
+++ b/e2fsprogs/ext2fs/ext2_ext_attr.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
File: linux/ext2_ext_attr.h
diff --git a/e2fsprogs/ext2fs/ext2_fs.h b/e2fsprogs/ext2fs/ext2_fs.h
index 44b04beb7..cb49d7a60 100644
--- a/e2fsprogs/ext2fs/ext2_fs.h
+++ b/e2fsprogs/ext2fs/ext2_fs.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* linux/include/linux/ext2_fs.h
*
diff --git a/e2fsprogs/ext2fs/ext2_io.h b/e2fsprogs/ext2fs/ext2_io.h
index 190f6c132..e6c9630e2 100644
--- a/e2fsprogs/ext2fs/ext2_io.h
+++ b/e2fsprogs/ext2fs/ext2_io.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* io.h --- the I/O manager abstraction
*
diff --git a/e2fsprogs/ext2fs/ext2_types.h b/e2fsprogs/ext2fs/ext2_types.h
index ee9b980a2..2c1196b8b 100644
--- a/e2fsprogs/ext2fs/ext2_types.h
+++ b/e2fsprogs/ext2fs/ext2_types.h
@@ -1 +1,2 @@
+/* vi: set sw=4 ts=4: */
#include <linux/types.h>
diff --git a/e2fsprogs/ext2fs/ext2fs.h b/e2fsprogs/ext2fs/ext2fs.h
index d5a0791eb..133fb1f1b 100644
--- a/e2fsprogs/ext2fs/ext2fs.h
+++ b/e2fsprogs/ext2fs/ext2fs.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* ext2fs.h --- ext2fs
*
diff --git a/e2fsprogs/ext2fs/ext2fsP.h b/e2fsprogs/ext2fs/ext2fsP.h
index 90b081232..908b5d9a4 100644
--- a/e2fsprogs/ext2fs/ext2fsP.h
+++ b/e2fsprogs/ext2fs/ext2fsP.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* ext2fsP.h --- private header file for ext2 library
*
diff --git a/e2fsprogs/ext2fs/ext2fs_inline.c b/e2fsprogs/ext2fs/ext2fs_inline.c
index 07805b10d..da1cf5be5 100644
--- a/e2fsprogs/ext2fs/ext2fs_inline.c
+++ b/e2fsprogs/ext2fs/ext2fs_inline.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* ext2fs.h --- ext2fs
*
diff --git a/e2fsprogs/ext2fs/ext_attr.c b/e2fsprogs/ext2fs/ext_attr.c
index ca9f9e20c..7ee41f234 100644
--- a/e2fsprogs/ext2fs/ext_attr.c
+++ b/e2fsprogs/ext2fs/ext_attr.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* ext_attr.c --- extended attribute blocks
*
diff --git a/e2fsprogs/ext2fs/fileio.c b/e2fsprogs/ext2fs/fileio.c
index da349fea2..c56a21aa8 100644
--- a/e2fsprogs/ext2fs/fileio.c
+++ b/e2fsprogs/ext2fs/fileio.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* fileio.c --- Simple file I/O routines
*
diff --git a/e2fsprogs/ext2fs/finddev.c b/e2fsprogs/ext2fs/finddev.c
index 552aa79c3..1261d1576 100644
--- a/e2fsprogs/ext2fs/finddev.c
+++ b/e2fsprogs/ext2fs/finddev.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* finddev.c -- this routine attempts to find a particular device in
* /dev
diff --git a/e2fsprogs/ext2fs/flushb.c b/e2fsprogs/ext2fs/flushb.c
index af7216a91..e42982653 100644
--- a/e2fsprogs/ext2fs/flushb.c
+++ b/e2fsprogs/ext2fs/flushb.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* flushb.c --- Hides system-dependent information for both syncing a
* device to disk and to flush any buffers from disk cache.
diff --git a/e2fsprogs/ext2fs/freefs.c b/e2fsprogs/ext2fs/freefs.c
index f0f7b3eec..65c4ee794 100644
--- a/e2fsprogs/ext2fs/freefs.c
+++ b/e2fsprogs/ext2fs/freefs.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* freefs.c --- free an ext2 filesystem
*
diff --git a/e2fsprogs/ext2fs/gen_bitmap.c b/e2fsprogs/ext2fs/gen_bitmap.c
index 3f15ce6a7..d0869c919 100644
--- a/e2fsprogs/ext2fs/gen_bitmap.c
+++ b/e2fsprogs/ext2fs/gen_bitmap.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* gen_bitmap.c --- Generic bitmap routines that used to be inlined.
*
diff --git a/e2fsprogs/ext2fs/get_pathname.c b/e2fsprogs/ext2fs/get_pathname.c
index 18bb6d271..a98b2b9e5 100644
--- a/e2fsprogs/ext2fs/get_pathname.c
+++ b/e2fsprogs/ext2fs/get_pathname.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* get_pathname.c --- do directry/inode -> name translation
*
diff --git a/e2fsprogs/ext2fs/getsectsize.c b/e2fsprogs/ext2fs/getsectsize.c
index 36871f236..163ec65e5 100644
--- a/e2fsprogs/ext2fs/getsectsize.c
+++ b/e2fsprogs/ext2fs/getsectsize.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* getsectsize.c --- get the sector size of a device.
*
diff --git a/e2fsprogs/ext2fs/getsize.c b/e2fsprogs/ext2fs/getsize.c
index 552e542a6..516886c1f 100644
--- a/e2fsprogs/ext2fs/getsize.c
+++ b/e2fsprogs/ext2fs/getsize.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* getsize.c --- get the size of a partition.
*
diff --git a/e2fsprogs/ext2fs/icount.c b/e2fsprogs/ext2fs/icount.c
index 7d0d63c91..521e00bb7 100644
--- a/e2fsprogs/ext2fs/icount.c
+++ b/e2fsprogs/ext2fs/icount.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* icount.c --- an efficient inode count abstraction
*
diff --git a/e2fsprogs/ext2fs/imager.c b/e2fsprogs/ext2fs/imager.c
index ece66fc30..2f93cb417 100644
--- a/e2fsprogs/ext2fs/imager.c
+++ b/e2fsprogs/ext2fs/imager.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* image.c --- writes out the critical parts of the filesystem as a
* flat file.
diff --git a/e2fsprogs/ext2fs/ind_block.c b/e2fsprogs/ext2fs/ind_block.c
index 4728fe7b5..c86a1c59a 100644
--- a/e2fsprogs/ext2fs/ind_block.c
+++ b/e2fsprogs/ext2fs/ind_block.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* ind_block.c --- indirect block I/O routines
*
diff --git a/e2fsprogs/ext2fs/initialize.c b/e2fsprogs/ext2fs/initialize.c
index 3d326b577..ef1d34379 100644
--- a/e2fsprogs/ext2fs/initialize.c
+++ b/e2fsprogs/ext2fs/initialize.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* initialize.c --- initialize a filesystem handle given superblock
* parameters. Used by mke2fs when initializing a filesystem.
diff --git a/e2fsprogs/ext2fs/inline.c b/e2fsprogs/ext2fs/inline.c
index 9c3a6c0d3..9b620a772 100644
--- a/e2fsprogs/ext2fs/inline.c
+++ b/e2fsprogs/ext2fs/inline.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* inline.c --- Includes the inlined functions defined in the header
* files as standalone functions, in case the application program
diff --git a/e2fsprogs/ext2fs/inode.c b/e2fsprogs/ext2fs/inode.c
index 88da4e02e..2ff9fe6ca 100644
--- a/e2fsprogs/ext2fs/inode.c
+++ b/e2fsprogs/ext2fs/inode.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* inode.c --- utility routines to read and write inodes
*
diff --git a/e2fsprogs/ext2fs/inode_io.c b/e2fsprogs/ext2fs/inode_io.c
index deaa95562..4bfa93aef 100644
--- a/e2fsprogs/ext2fs/inode_io.c
+++ b/e2fsprogs/ext2fs/inode_io.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* inode_io.c --- This is allows an inode in an ext2 filesystem image
* to be accessed via the I/O manager interface.
diff --git a/e2fsprogs/ext2fs/io_manager.c b/e2fsprogs/ext2fs/io_manager.c
index 3d0987bc1..b47038602 100644
--- a/e2fsprogs/ext2fs/io_manager.c
+++ b/e2fsprogs/ext2fs/io_manager.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* io_manager.c --- the I/O manager abstraction
*/
diff --git a/e2fsprogs/ext2fs/irel.h b/e2fsprogs/ext2fs/irel.h
index 45e031beb..91d1d89d5 100644
--- a/e2fsprogs/ext2fs/irel.h
+++ b/e2fsprogs/ext2fs/irel.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* irel.h
*
diff --git a/e2fsprogs/ext2fs/irel_ma.c b/e2fsprogs/ext2fs/irel_ma.c
index f4fe1e0f3..c871b1891 100644
--- a/e2fsprogs/ext2fs/irel_ma.c
+++ b/e2fsprogs/ext2fs/irel_ma.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* irel_ma.c
*
diff --git a/e2fsprogs/ext2fs/ismounted.c b/e2fsprogs/ext2fs/ismounted.c
index 381194320..cace7715c 100644
--- a/e2fsprogs/ext2fs/ismounted.c
+++ b/e2fsprogs/ext2fs/ismounted.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* ismounted.c --- Check to see if the filesystem was mounted
*
diff --git a/e2fsprogs/ext2fs/jfs_dat.h b/e2fsprogs/ext2fs/jfs_dat.h
index 8ec5d3841..136635de0 100644
--- a/e2fsprogs/ext2fs/jfs_dat.h
+++ b/e2fsprogs/ext2fs/jfs_dat.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* jfs_dat.h --- stripped down header file which only contains the JFS
* on-disk data structures
diff --git a/e2fsprogs/ext2fs/kernel-jbd.h b/e2fsprogs/ext2fs/kernel-jbd.h
index 9074f3c78..4c6c7dedd 100644
--- a/e2fsprogs/ext2fs/kernel-jbd.h
+++ b/e2fsprogs/ext2fs/kernel-jbd.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* linux/include/linux/jbd.h
*
diff --git a/e2fsprogs/ext2fs/kernel-list.h b/e2fsprogs/ext2fs/kernel-list.h
index fa62ff138..3392596ca 100644
--- a/e2fsprogs/ext2fs/kernel-list.h
+++ b/e2fsprogs/ext2fs/kernel-list.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
#ifndef _LINUX_LIST_H
#define _LINUX_LIST_H
diff --git a/e2fsprogs/ext2fs/link.c b/e2fsprogs/ext2fs/link.c
index 6fb307638..08b2e9673 100644
--- a/e2fsprogs/ext2fs/link.c
+++ b/e2fsprogs/ext2fs/link.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* link.c --- create links in a ext2fs directory
*
diff --git a/e2fsprogs/ext2fs/lookup.c b/e2fsprogs/ext2fs/lookup.c
index 76c5ac871..31b30a182 100644
--- a/e2fsprogs/ext2fs/lookup.c
+++ b/e2fsprogs/ext2fs/lookup.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* lookup.c --- ext2fs directory lookup operations
*
diff --git a/e2fsprogs/ext2fs/mkdir.c b/e2fsprogs/ext2fs/mkdir.c
index c3c03711c..b63c5d7a6 100644
--- a/e2fsprogs/ext2fs/mkdir.c
+++ b/e2fsprogs/ext2fs/mkdir.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* mkdir.c --- make a directory in the filesystem
*
diff --git a/e2fsprogs/ext2fs/mkjournal.c b/e2fsprogs/ext2fs/mkjournal.c
index 47a459055..c23ed9021 100644
--- a/e2fsprogs/ext2fs/mkjournal.c
+++ b/e2fsprogs/ext2fs/mkjournal.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* mkjournal.c --- make a journal for a filesystem
*
diff --git a/e2fsprogs/ext2fs/namei.c b/e2fsprogs/ext2fs/namei.c
index 2c372f4e2..988967009 100644
--- a/e2fsprogs/ext2fs/namei.c
+++ b/e2fsprogs/ext2fs/namei.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* namei.c --- ext2fs directory lookup operations
*
diff --git a/e2fsprogs/ext2fs/newdir.c b/e2fsprogs/ext2fs/newdir.c
index 27c718ea5..9470e7f56 100644
--- a/e2fsprogs/ext2fs/newdir.c
+++ b/e2fsprogs/ext2fs/newdir.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* newdir.c --- create a new directory block
*
diff --git a/e2fsprogs/ext2fs/openfs.c b/e2fsprogs/ext2fs/openfs.c
index 646ec4d30..716be060f 100644
--- a/e2fsprogs/ext2fs/openfs.c
+++ b/e2fsprogs/ext2fs/openfs.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* openfs.c --- open an ext2 filesystem
*
diff --git a/e2fsprogs/ext2fs/read_bb.c b/e2fsprogs/ext2fs/read_bb.c
index 7612e674f..4766157c2 100644
--- a/e2fsprogs/ext2fs/read_bb.c
+++ b/e2fsprogs/ext2fs/read_bb.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* read_bb --- read the bad blocks inode
*
diff --git a/e2fsprogs/ext2fs/read_bb_file.c b/e2fsprogs/ext2fs/read_bb_file.c
index f7851f143..831adcc3a 100644
--- a/e2fsprogs/ext2fs/read_bb_file.c
+++ b/e2fsprogs/ext2fs/read_bb_file.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* read_bb_file.c --- read a list of bad blocks from a FILE *
*
diff --git a/e2fsprogs/ext2fs/res_gdt.c b/e2fsprogs/ext2fs/res_gdt.c
index 6a416b6df..f7ee8b1fb 100644
--- a/e2fsprogs/ext2fs/res_gdt.c
+++ b/e2fsprogs/ext2fs/res_gdt.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* res_gdt.c --- reserve blocks for growing the group descriptor table
* during online resizing.
diff --git a/e2fsprogs/ext2fs/rs_bitmap.c b/e2fsprogs/ext2fs/rs_bitmap.c
index c2e51e021..e932b3c9d 100644
--- a/e2fsprogs/ext2fs/rs_bitmap.c
+++ b/e2fsprogs/ext2fs/rs_bitmap.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* rs_bitmap.c --- routine for changing the size of a bitmap
*
diff --git a/e2fsprogs/ext2fs/rw_bitmaps.c b/e2fsprogs/ext2fs/rw_bitmaps.c
index 50f2a9447..a5782db95 100644
--- a/e2fsprogs/ext2fs/rw_bitmaps.c
+++ b/e2fsprogs/ext2fs/rw_bitmaps.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* rw_bitmaps.c --- routines to read and write the inode and block bitmaps.
*
diff --git a/e2fsprogs/ext2fs/sparse.c b/e2fsprogs/ext2fs/sparse.c
index 90b028f09..b3d3071e9 100644
--- a/e2fsprogs/ext2fs/sparse.c
+++ b/e2fsprogs/ext2fs/sparse.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* sparse.c --- find the groups in an ext2 filesystem with metadata backups
*
diff --git a/e2fsprogs/ext2fs/swapfs.c b/e2fsprogs/ext2fs/swapfs.c
index 0c0180613..2fca3cfbb 100644
--- a/e2fsprogs/ext2fs/swapfs.c
+++ b/e2fsprogs/ext2fs/swapfs.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* swapfs.c --- swap ext2 filesystem data structures
*
diff --git a/e2fsprogs/ext2fs/test_io.c b/e2fsprogs/ext2fs/test_io.c
index 45f9090cb..fb029e2f1 100644
--- a/e2fsprogs/ext2fs/test_io.c
+++ b/e2fsprogs/ext2fs/test_io.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* test_io.c --- This is the Test I/O interface.
*
diff --git a/e2fsprogs/ext2fs/unix_io.c b/e2fsprogs/ext2fs/unix_io.c
index 69d01f49b..474f07340 100644
--- a/e2fsprogs/ext2fs/unix_io.c
+++ b/e2fsprogs/ext2fs/unix_io.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* unix_io.c --- This is the Unix (well, really POSIX) implementation
* of the I/O manager.
diff --git a/e2fsprogs/ext2fs/unlink.c b/e2fsprogs/ext2fs/unlink.c
index 6ad3c4e3a..83ac2713e 100644
--- a/e2fsprogs/ext2fs/unlink.c
+++ b/e2fsprogs/ext2fs/unlink.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* unlink.c --- delete links in a ext2fs directory
*
diff --git a/e2fsprogs/ext2fs/valid_blk.c b/e2fsprogs/ext2fs/valid_blk.c
index d0367e71c..8ed77ae2a 100644
--- a/e2fsprogs/ext2fs/valid_blk.c
+++ b/e2fsprogs/ext2fs/valid_blk.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* valid_blk.c --- does the inode have valid blocks?
*
diff --git a/e2fsprogs/ext2fs/version.c b/e2fsprogs/ext2fs/version.c
index f7026af32..882e121d4 100644
--- a/e2fsprogs/ext2fs/version.c
+++ b/e2fsprogs/ext2fs/version.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* version.c --- Return the version of the ext2 library
*
diff --git a/e2fsprogs/ext2fs/write_bb_file.c b/e2fsprogs/ext2fs/write_bb_file.c
index 269b576b2..5b19eefa0 100644
--- a/e2fsprogs/ext2fs/write_bb_file.c
+++ b/e2fsprogs/ext2fs/write_bb_file.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* write_bb_file.c --- write a list of bad blocks to a FILE *
*
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c
index 54e8597d4..3290d00ef 100644
--- a/e2fsprogs/fsck.c
+++ b/e2fsprogs/fsck.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* pfsck --- A generic, parallelizing front-end for the fsck program.
* It will automatically try to run fsck programs in parallel if the
diff --git a/e2fsprogs/fsck.h b/e2fsprogs/fsck.h
index 12748a121..2ca2af7da 100644
--- a/e2fsprogs/fsck.h
+++ b/e2fsprogs/fsck.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* fsck.h
*/
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c
index 1f2176600..5c20d25f3 100644
--- a/e2fsprogs/lsattr.c
+++ b/e2fsprogs/lsattr.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* lsattr.c - List file attributes on an ext2 file system
*
diff --git a/e2fsprogs/mke2fs.c b/e2fsprogs/mke2fs.c
index 22e4d2578..f1e40832d 100644
--- a/e2fsprogs/mke2fs.c
+++ b/e2fsprogs/mke2fs.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* mke2fs.c - Make a ext2fs filesystem.
*
diff --git a/e2fsprogs/tune2fs.c b/e2fsprogs/tune2fs.c
index 521e49874..8ec346108 100644
--- a/e2fsprogs/tune2fs.c
+++ b/e2fsprogs/tune2fs.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* tune2fs.c - Change the file system parameters on an ext2 file system
*
diff --git a/e2fsprogs/util.c b/e2fsprogs/util.c
index 151af3211..6b72d0e0c 100644
--- a/e2fsprogs/util.c
+++ b/e2fsprogs/util.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* util.c --- helper functions used by tune2fs and mke2fs
*
diff --git a/e2fsprogs/util.h b/e2fsprogs/util.h
index 5041046c7..80d241718 100644
--- a/e2fsprogs/util.h
+++ b/e2fsprogs/util.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* util.h --- header file defining prototypes for helper functions
* used by tune2fs and mke2fs
diff --git a/e2fsprogs/uuid/compare.c b/e2fsprogs/uuid/compare.c
index 94c32b1d3..2be9e90a3 100644
--- a/e2fsprogs/uuid/compare.c
+++ b/e2fsprogs/uuid/compare.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* compare.c --- compare whether or not two UUID's are the same
*
diff --git a/e2fsprogs/uuid/gen_uuid.c b/e2fsprogs/uuid/gen_uuid.c
index 24eb852ef..e5c0f0d53 100644
--- a/e2fsprogs/uuid/gen_uuid.c
+++ b/e2fsprogs/uuid/gen_uuid.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* gen_uuid.c --- generate a DCE-compatible uuid
*
diff --git a/e2fsprogs/uuid/pack.c b/e2fsprogs/uuid/pack.c
index 9d733f000..217cfce5d 100644
--- a/e2fsprogs/uuid/pack.c
+++ b/e2fsprogs/uuid/pack.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* Internal routine for packing UUID's
*
diff --git a/e2fsprogs/uuid/parse.c b/e2fsprogs/uuid/parse.c
index 21b29498e..9a3f9cb92 100644
--- a/e2fsprogs/uuid/parse.c
+++ b/e2fsprogs/uuid/parse.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* parse.c --- UUID parsing
*
diff --git a/e2fsprogs/uuid/unpack.c b/e2fsprogs/uuid/unpack.c
index 8f9c520c1..95d3aab4a 100644
--- a/e2fsprogs/uuid/unpack.c
+++ b/e2fsprogs/uuid/unpack.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* Internal routine for unpacking UUID
*
diff --git a/e2fsprogs/uuid/unparse.c b/e2fsprogs/uuid/unparse.c
index a95bbb042..d2948fe6d 100644
--- a/e2fsprogs/uuid/unparse.c
+++ b/e2fsprogs/uuid/unparse.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* unparse.c -- convert a UUID to string
*
diff --git a/e2fsprogs/uuid/uuid.h b/e2fsprogs/uuid/uuid.h
index 95602c9db..bd53b15d0 100644
--- a/e2fsprogs/uuid/uuid.h
+++ b/e2fsprogs/uuid/uuid.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* Public include file for the UUID library
*
diff --git a/e2fsprogs/uuid/uuidP.h b/e2fsprogs/uuid/uuidP.h
index 9d30ce2f8..87041ef0a 100644
--- a/e2fsprogs/uuid/uuidP.h
+++ b/e2fsprogs/uuid/uuidP.h
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* uuid.h -- private header file for uuids
*
diff --git a/e2fsprogs/uuid/uuid_time.c b/e2fsprogs/uuid/uuid_time.c
index 51f87de22..df91ec376 100644
--- a/e2fsprogs/uuid/uuid_time.c
+++ b/e2fsprogs/uuid/uuid_time.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* uuid_time.c --- Interpret the time field from a uuid. This program
* violates the UUID abstraction barrier by reaching into the guts