In addition to r264077, tell GEOM that we do support BIO_DELETE now.

This commit is contained in:
Alexander Motin 2014-04-06 16:31:28 +00:00
parent f601272298
commit a96fefe042
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264193

View File

@ -2440,6 +2440,9 @@ zvol_geom_start(struct bio *bp)
zvol_strategy(bp);
break;
case BIO_GETATTR:
if (g_handleattr_int(bp, "GEOM::candelete", 1))
return;
/* FALLTHROUGH */
default:
g_io_deliver(bp, EOPNOTSUPP);
break;