diff options
author | Alasdair Kergon <agk@redhat.com> | 2008-01-30 13:19:47 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2008-01-30 13:19:47 +0000 |
commit | c51b9fff19d4891addf22f35950eeae48be9cac8 (patch) | |
tree | a2bdcb2e7b6828e82fe894bb4a6a8b6125d0cebc /lib/format1/lvm1-label.c | |
parent | 962b2a559dde931e5e519706b755bf2764b8338a (diff) | |
download | lvm2-c51b9fff19d4891addf22f35950eeae48be9cac8.tar.gz lvm2-c51b9fff19d4891addf22f35950eeae48be9cac8.tar.xz lvm2-c51b9fff19d4891addf22f35950eeae48be9cac8.zip |
Use stack return macros throughout.
Diffstat (limited to 'lib/format1/lvm1-label.c')
-rw-r--r-- | lib/format1/lvm1-label.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/format1/lvm1-label.c b/lib/format1/lvm1-label.c index e2bb465f..afbcdae6 100644 --- a/lib/format1/lvm1-label.c +++ b/lib/format1/lvm1-label.c @@ -71,10 +71,8 @@ static int _lvm1_read(struct labeller *l, struct device *dev, void *buf, } if (!(info = lvmcache_add(l, (char *)pvd->pv_uuid, dev, (char *)pvd->vg_name, vgid, - exported))) { - stack; - return 0; - } + exported))) + return_0; *label = info->label; info->device_size = xlate32(pvd->pv_size) << SECTOR_SHIFT; |