Date: Fri, 23 Sep 2016 16:47:12 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r306272 - head/sys/sys Message-ID: <201609231647.u8NGlCYF045234@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Fri Sep 23 16:47:12 2016 New Revision: 306272 URL: https://svnweb.freebsd.org/changeset/base/306272 Log: fd: hide fd_modified under CAPABILITIES It has no use without it and is now less error prone. Modified: head/sys/sys/filedesc.h Modified: head/sys/sys/filedesc.h ============================================================================== --- head/sys/sys/filedesc.h Fri Sep 23 16:22:03 2016 (r306271) +++ head/sys/sys/filedesc.h Fri Sep 23 16:47:12 2016 (r306272) @@ -229,12 +229,14 @@ fdeget_locked(struct filedesc *fdp, int return (fde); } +#ifdef CAPABILITIES static __inline bool fd_modified(struct filedesc *fdp, int fd, seq_t seq) { return (!seq_consistent(fd_seq(fdp->fd_files, fd), seq)); } +#endif /* cdir/rdir/jdir manipulation functions. */ void pwd_chdir(struct thread *td, struct vnode *vp);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609231647.u8NGlCYF045234>