From: Karel Zak Date: Thu, 16 Jan 2014 15:33:16 +0000 (+0100) Subject: wipefs: add comments to code X-Git-Tag: v2.25-rc1~633 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90faf9eb07e0b67745ab25c1ab3521631cca2f97;p=thirdparty%2Futil-linux.git wipefs: add comments to code --- diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c index 8ac6c33a08..7ccd3795a4 100644 --- a/misc-utils/wipefs.c +++ b/misc-utils/wipefs.c @@ -246,10 +246,13 @@ new_probe(const char *devname, int mode) goto error; blkid_probe_enable_superblocks(pr, 1); - blkid_probe_set_superblocks_flags(pr, BLKID_SUBLKS_MAGIC | - BLKID_SUBLKS_TYPE | BLKID_SUBLKS_USAGE | - BLKID_SUBLKS_LABEL | BLKID_SUBLKS_UUID | - BLKID_SUBLKS_BADCSUM); + blkid_probe_set_superblocks_flags(pr, + BLKID_SUBLKS_MAGIC | /* return magic string and offset */ + BLKID_SUBLKS_TYPE | /* return superblock type */ + BLKID_SUBLKS_USAGE | /* return USAGE= */ + BLKID_SUBLKS_LABEL | /* return LABEL= */ + BLKID_SUBLKS_UUID | /* return UUID= */ + BLKID_SUBLKS_BADCSUM); /* accept bad checksums */ blkid_probe_enable_partitions(pr, 1); blkid_probe_set_partitions_flags(pr, BLKID_PARTS_MAGIC);