summaryrefslogtreecommitdiffstats
path: root/sys/sys/sf_buf.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-04-03 09:16:27 +0000
committeralc <alc@FreeBSD.org>2004-04-03 09:16:27 +0000
commit1ec4d75266041d6ea34c956b2e1921c1326800e4 (patch)
tree0da7662b4e3ccfb3f8999cccb8a3301194f373ce /sys/sys/sf_buf.h
parentf18821928b1822e430badc9b8017fe9587228e53 (diff)
downloadFreeBSD-src-1ec4d75266041d6ea34c956b2e1921c1326800e4.zip
FreeBSD-src-1ec4d75266041d6ea34c956b2e1921c1326800e4.tar.gz
In some cases, sf_buf_alloc() should sleep with pri PCATCH; in others, it
should not. Add a new parameter so that the caller can specify which is the case. Reported by: dillon
Diffstat (limited to 'sys/sys/sf_buf.h')
-rw-r--r--sys/sys/sf_buf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/sf_buf.h b/sys/sys/sf_buf.h
index e179df9..7d6389d 100644
--- a/sys/sys/sf_buf.h
+++ b/sys/sys/sf_buf.h
@@ -38,7 +38,7 @@ extern int nsfbufspeak; /* Peak of nsfbufsused */
extern int nsfbufsused; /* Number of sendfile(2) bufs in use */
struct sf_buf *
- sf_buf_alloc(struct vm_page *m);
+ sf_buf_alloc(struct vm_page *m, int pri);
void sf_buf_free(struct sf_buf *sf);
void sf_buf_mext(void *addr, void *args);
OpenPOWER on IntegriCloud