mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Fix minor compiler warnings
These compiler warnings were introduced when code which was previously #ifdef'ed out by HAVE_ZPL was re-added for use by the posix layer. All of the following changes should be obviously correct and will cause no semantic changes.
This commit is contained in:
@@ -467,7 +467,7 @@ zfs_is_shared_proto(zfs_handle_t *zhp, char **where, zfs_share_proto_t proto)
|
||||
if (!zfs_is_mounted(zhp, &mountpoint))
|
||||
return (SHARED_NOT_SHARED);
|
||||
|
||||
if (rc = is_shared(zhp->zfs_hdl, mountpoint, proto)) {
|
||||
if ((rc = is_shared(zhp->zfs_hdl, mountpoint, proto))) {
|
||||
if (where != NULL)
|
||||
*where = mountpoint;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user