summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_syscalls.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/vfs_syscalls.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/vfs_syscalls.c')
-rw-r--r--sys/kern/vfs_syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index 649339b..4fc198e 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -1069,7 +1069,7 @@ kern_openat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
else
flags = FFLAGS(flags);
- error = fallocf(td, &nfp, &indx, flags);
+ error = falloc(td, &nfp, &indx, flags);
if (error)
return (error);
/* An extra reference on `nfp' has been held for us by falloc(). */
@@ -4495,7 +4495,7 @@ fhopen(td, uap)
* end of vn_open code
*/
- if ((error = fallocf(td, &nfp, &indx, fmode)) != 0) {
+ if ((error = falloc(td, &nfp, &indx, fmode)) != 0) {
if (fmode & FWRITE)
vp->v_writecount--;
goto bad;
OpenPOWER on IntegriCloud