[lvm-devel] LVM2 ./WHATS_NEW lib/activate/fs.c

Alasdair G Kergon agk at redhat.com
Sun Feb 12 20:11:45 UTC 2012


On Wed, Feb 08, 2012 at 10:43:43AM -0000, zkabelac at sourceware.org wrote:
> +	if ((r = lstat(lv_path, &buf)) && errno == ENOENT)

> +	if (r || !S_ISLNK(buf.st_mode)) {
>  		log_error("%s not symbolic link - not removing", lv_path);

So if you get, say ENOMEM, you'll tell the user "not symbolic link"?
Sigh.

Alasdair




More information about the lvm-devel mailing list