Fix leo-project/leofs/issues/271