summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-04-03 19:22:32 +0000
committerphk <phk@FreeBSD.org>2003-04-03 19:22:32 +0000
commit8207e9e353dbeb83f80376f31b4c525f09eae776 (patch)
tree7544aad7492451e1e81824644261e4250d862b1c /sys
parentcbe207a30e425a431f1d8f771ce9d018271ca5e0 (diff)
downloadFreeBSD-src-8207e9e353dbeb83f80376f31b4c525f09eae776.zip
FreeBSD-src-8207e9e353dbeb83f80376f31b4c525f09eae776.tar.gz
Remove BIO_SETATTR from non-GEOM part of kernel as well.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_disk.c1
-rw-r--r--sys/sys/bio.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index e3d8c02..ebe40e6 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -44,7 +44,6 @@ disk_err(struct bio *bp, const char *what, int blkdone, int nl)
case BIO_WRITE: printf("cmd=write "); break;
case BIO_DELETE: printf("cmd=delete "); break;
case BIO_GETATTR: printf("cmd=getattr "); break;
- case BIO_SETATTR: printf("cmd=setattr "); break;
default: printf("cmd=%x ", bp->bio_cmd); break;
}
sn = bp->bio_blkno;
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index f87e0c3..508632c 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -91,7 +91,6 @@ struct bio {
#define BIO_WRITE 0x00000002
#define BIO_DELETE 0x00000004
#define BIO_GETATTR 0x00000008
-#define BIO_SETATTR 0x00000010
#define BIO_CMD1 0x40000000 /* Available for local hacks */
#define BIO_CMD2 0x80000000 /* Available for local hacks */
OpenPOWER on IntegriCloud