summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_descrip.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-04-01 13:28:34 +0000
committerkib <kib@FreeBSD.org>2011-04-01 13:28:34 +0000
commiteb730d92e49e2ade0bd124e5d3b8506b02a768cb (patch)
tree3d25bcc0dd45d3d17d69535933f99529288ffdae /sys/kern/kern_descrip.c
parent5787512ec9b8e5299bb1c6452b7b4e869c1e0fdd (diff)
downloadFreeBSD-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/kern_descrip.c')
-rw-r--r--sys/kern/kern_descrip.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c
index 21590d3..b69460a 100644
--- a/sys/kern/kern_descrip.c
+++ b/sys/kern/kern_descrip.c
@@ -1516,7 +1516,7 @@ fdavail(struct thread *td, int n)
* release the FILEDESC lock.
*/
int
-fallocf(struct thread *td, struct file **resultfp, int *resultfd, int flags)
+falloc(struct thread *td, struct file **resultfp, int *resultfd, int flags)
{
struct proc *p = td->td_proc;
struct file *fp;
@@ -1569,13 +1569,6 @@ fallocf(struct thread *td, struct file **resultfp, int *resultfd, int flags)
return (0);
}
-int
-falloc(struct thread *td, struct file **resultfp, int *resultfd)
-{
-
- return (fallocf(td, resultfp, resultfd, 0));
-}
-
/*
* Build a new filedesc structure from another.
* Copy the current, root, and jail root vnode references.
OpenPOWER on IntegriCloud