Merge branch 'linux-have-libdiskmgt' into refs/top-bases/linux-zfs-branch

This commit is contained in:
Brian Behlendorf 2009-03-11 23:10:06 -07:00
commit da4d2eea9d
1 changed files with 2 additions and 2 deletions

View File

@ -283,11 +283,11 @@ check_file(const char *file, boolean_t force, boolean_t isspare)
char *name;
int fd;
int ret = 0;
int err;
pool_state_t state;
boolean_t inuse;
#ifdef HAVE_DM_INUSE_SWAP
int err;
if (dm_inuse_swap(file, &err)) {
if (err)
libdiskmgt_error(err);