diff options
| author | Mike Smith <msmith@FreeBSD.org> | 1999-09-30 05:29:59 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 1999-09-30 05:29:59 +0000 |
| commit | 46a706dc69122a9d09f33bcfeb6169a26ca37722 (patch) | |
| tree | dbf7ddc866920760c15de54223026351dcdfaf2a /sys/kern/subr_disk.c | |
| parent | c124f1f78087ac696c54cb8272a95c14cd5afacc (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_disk.c')
| -rw-r--r-- | sys/kern/subr_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index ed3923625445..c482aab48de3 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -141,9 +141,9 @@ diskclose(dev_t dev, int fflag, int devtype, struct proc *p) error = 0; dp = dev->si_disk; - dsclose(dev, devtype, dp->d_slice); if (dsisopen(dp->d_slice)) error = dp->d_devsw->d_close(dev, fflag, devtype, p); + dsclose(dev, devtype, dp->d_slice); return (error); } |
