mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-06 13:09:50 +00:00
Put "coda_rdwr: Internally Opening" printf generated by in-kernel writes
to files, such as ktrace output, under CODA_VERBOSE. Otherwise, each such call to VOP_WRITE() results in a kernel printf. MFC after: 3 days Obtained from: NetBSD
This commit is contained in:
parent
e866951b59
commit
9d3e5c0e2b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175545
@ -341,7 +341,9 @@ coda_rdwr(struct vnode *vp, struct uio *uiop, enum uio_rw rw, int ioflag,
|
||||
opened_internally = 1;
|
||||
MARK_INT_GEN(CODA_OPEN_STATS);
|
||||
error = VOP_OPEN(vp, (rw == UIO_READ ? FREAD : FWRITE), cred, td, NULL);
|
||||
#ifdef CODA_VERBOSE
|
||||
printf("coda_rdwr: Internally Opening %p\n", vp);
|
||||
#endif
|
||||
if (error) {
|
||||
printf("coda_rdwr: VOP_OPEN on container failed %d\n", error);
|
||||
return (error);
|
||||
|
Loading…
Reference in New Issue
Block a user