Adding a more correct trim function prototype to the struct of block device
operations.
This commit is contained in:
parent
46ce45a571
commit
3426987066
2
buse.c
2
buse.c
|
@ -124,7 +124,7 @@ int buse_main(int argc, char *argv[], const struct buse_operations *aop, void *u
|
|||
aop->flush();
|
||||
break;
|
||||
case NBD_CMD_TRIM:
|
||||
aop->trim();
|
||||
aop->trim(from, len);
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
|
|
Loading…
Reference in New Issue