PERFORCE change 201464 for review
John Baldwin
jhb at FreeBSD.org
Wed Nov 9 19:41:34 UTC 2011
http://p4web.freebsd.org/@@201464?ac=10
Change 201464 by jhb at jhb_jhbbsd on 2011/11/09 19:41:15
Compile.
Affected files ...
.. //depot/projects/fadvise/sys/kern/vfs_syscalls.c#15 edit
.. //depot/projects/fadvise/sys/sys/syscallsubr.h#3 edit
Differences ...
==== //depot/projects/fadvise/sys/kern/vfs_syscalls.c#15 (text+ko) ====
@@ -4855,7 +4855,8 @@
* region of any current setting.
*/
int
-kern_posix_fadvise(struct thread td, int fd, off_t offset, off_t len, int advice)
+kern_posix_fadvise(struct thread *td, int fd, off_t offset, off_t len,
+ int advice)
{
struct fadvise_info *fa, *new;
struct file *fp;
@@ -4979,5 +4980,7 @@
int
sys_posix_fadvise(struct thread *td, struct posix_fadvise_args *uap)
{
- return (kern_posix_fadvise(td, uap->fd, uap->offset, uap->len, uap->advice));
+
+ return (kern_posix_fadvise(td, uap->fd, uap->offset, uap->len,
+ uap->advice));
}
==== //depot/projects/fadvise/sys/sys/syscallsubr.h#3 (text+ko) ====
@@ -153,8 +153,10 @@
int kern_pathconf(struct thread *td, char *path, enum uio_seg pathseg,
int name, u_long flags);
int kern_pipe(struct thread *td, int fildes[2]);
-int kern_posix_fallocate(struct thread *td, int fd, off_t offset, off_t len);
-int kern_posix_fadvise(struct thread td, int fd, off_t offset, off_t len, int advice);
+int kern_posix_fadvise(struct thread *td, int fd, off_t offset, off_t len,
+ int advice);
+int kern_posix_fallocate(struct thread *td, int fd, off_t offset,
+ off_t len);
int kern_preadv(struct thread *td, int fd, struct uio *auio, off_t offset);
int kern_pselect(struct thread *td, int nd, fd_set *in, fd_set *ou,
fd_set *ex, struct timeval *tvp, sigset_t *uset, int abi_nfdbits);
More information about the p4-projects
mailing list