Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
This commit is contained in:
commit
dd82a3b6bc
|
@ -283,11 +283,11 @@ check_file(const char *file, boolean_t force, boolean_t isspare)
|
||||||
char *name;
|
char *name;
|
||||||
int fd;
|
int fd;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
int err;
|
|
||||||
pool_state_t state;
|
pool_state_t state;
|
||||||
boolean_t inuse;
|
boolean_t inuse;
|
||||||
|
|
||||||
#ifdef HAVE_DM_INUSE_SWAP
|
#ifdef HAVE_DM_INUSE_SWAP
|
||||||
|
int err;
|
||||||
|
|
||||||
if (dm_inuse_swap(file, &err)) {
|
if (dm_inuse_swap(file, &err)) {
|
||||||
if (err)
|
if (err)
|
||||||
libdiskmgt_error(err);
|
libdiskmgt_error(err);
|
||||||
|
|
Loading…
Reference in New Issue