diff options
author | kib <kib@FreeBSD.org> | 2011-04-01 13:28:34 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-04-01 13:28:34 +0000 |
commit | eb730d92e49e2ade0bd124e5d3b8506b02a768cb (patch) | |
tree | 3d25bcc0dd45d3d17d69535933f99529288ffdae /sys/kern/sys_pipe.c | |
parent | 5787512ec9b8e5299bb1c6452b7b4e869c1e0fdd (diff) | |
download | FreeBSD-src-eb730d92e49e2ade0bd124e5d3b8506b02a768cb.zip FreeBSD-src-eb730d92e49e2ade0bd124e5d3b8506b02a768cb.tar.gz |
After the r219999 is merged to stable/8, rename fallocf(9) to falloc(9)
and remove the falloc() version that lacks flag argument. This is done
to reduce the KPI bloat.
Requested by: jhb
X-MFC-note: do not
Diffstat (limited to 'sys/kern/sys_pipe.c')
-rw-r--r-- | sys/kern/sys_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index d3929b4..50b0389 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -348,7 +348,7 @@ kern_pipe(struct thread *td, int fildes[2]) rpipe->pipe_state |= PIPE_DIRECTOK; wpipe->pipe_state |= PIPE_DIRECTOK; - error = falloc(td, &rf, &fd); + error = falloc(td, &rf, &fd, 0); if (error) { pipeclose(rpipe); pipeclose(wpipe); @@ -364,7 +364,7 @@ kern_pipe(struct thread *td, int fildes[2]) * side while we are blocked trying to allocate the write side. */ finit(rf, FREAD | FWRITE, DTYPE_PIPE, rpipe, &pipeops); - error = falloc(td, &wf, &fd); + error = falloc(td, &wf, &fd, 0); if (error) { fdclose(fdp, rf, fildes[0], td); fdrop(rf, td); |