Whamcloud - gitweb
blkid: use list_for_each_safe in garbage collection
authorEric Sandeen <sandeen@redhat.com>
Sat, 21 Jun 2008 03:32:49 +0000 (22:32 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 29 Jun 2008 02:17:20 +0000 (22:17 -0400)
commit772b89d34212e4b36c2025c80304e166bc25a2f3
tree9f05bcd1a31c588d312226f8ceb2e5cc8b0c2bb8
parentbbf6d453597ff8227c9a541d55c64ba01691f171
blkid: use list_for_each_safe in garbage collection

We need to use list_for_each_safe in case a device gets removed from
the list during garbage collection.

Also make the manpage slightly more informative about
what the -g garbage collection option does.

Addresses-Debian-Bug: #487758, #487783

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/blkid/cache.c
misc/blkid.8.in