Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2011 19:41:33 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 201464 for review
Message-ID:  <201111091941.pA9JfXlu094341@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@201464?ac=10

Change 201464 by jhb@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111091941.pA9JfXlu094341>