On Wed, Mar 12, 2025 at 07:44:57AM +0100, Christoph Hellwig wrote: > That way it can also be used for RT and log devices. Do you mean "That way callers can pass SCRATCH_RTDEV directly without needing to check for zero-length themselves"? --D > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > --- > common/rc | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/common/rc b/common/rc > index 753e86f91a04..b0131526380a 100644 > --- a/common/rc > +++ b/common/rc > @@ -2545,8 +2545,7 @@ _require_non_zoned_device() > { > local target=$1 > if [ -z $target ]; then > - echo "Usage: _require_non_zoned_device <device>" > - exit 1 > + return > fi > > local type=`_zone_type ${target}` > -- > 2.45.2 > >