Bug 110200

Summary: [patch] VOP_FSYNC() and VFS_SYNC() man pages need "cred" removal
Product: Documentation Reporter: Jamie Jones <jamie>
Component: Books & ArticlesAssignee: Pav Lucistnik <pav>
Status: Closed FIXED    
Severity: Affects Only Me CC: jamie
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Jamie Jones 2007-03-11 20:30:04 UTC
The man pages for VOP_FSYNC and VFS_SYNC still reference the "cred" parameter which has long since been removed.

i.e. int
     VOP_FSYNC(struct vnode *vp, struct ucred *cred, int waitfor,
         struct thread *td);
and int
     VFS_SYNC(struct mount *mp, int waitfor, struct ucred *cred,
         struct thread *td);

Fix: Updated the man pages as per the attached patch

cheers, 
Jamie

Patch attached with submission follows:
How-To-Repeat: man VOP_FSYNC
man VFS_SYNC
Comment 1 Jamie Jones 2007-03-11 20:48:28 UTC
Incidently, these aren't the ONLY pages that need fixing in the same way.

Cheers,
Jamie

-- 
-=-=-=-  Virus Scanned by "pacha.mail.bishopston.net" using ClamAv  -=-=-=-
Database Last Checked: Sun Mar 11 20:38:01 GMT 2007 - http://www.clamav.net/
Database Updated     : Thu Mar  8 10:33:26 GMT 2007 - 98512 viruses scanned
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-12 13:55:54 UTC
State Changed
From-To: open->patched

Committed to HEAD; will MFC to RELENG_6 


Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-12 13:55:54 UTC
Responsible Changed
From-To: freebsd-doc->pav

Committed to HEAD; will MFC to RELENG_6
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-05-12 14:11:03 UTC
pav         2007-05-12 13:10:55 UTC

  FreeBSD src repository (doc,ports committer)

  Modified files:
    share/man/man9       VFS_SYNC.9 VOP_FSYNC.9 
  Log:
  Remove cred argument, which was removed from code by phk two years ago
  
  PR:             docs/110200
  Submitted by:   Jamie Jones <jamie@bishopston.net>
  MFC after:      1 week
  
  Revision  Changes    Path
  1.16      +1 -3      src/share/man/man9/VFS_SYNC.9
  1.16      +2 -4      src/share/man/man9/VOP_FSYNC.9
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-19 12:27:27 UTC
State Changed
From-To: patched->closed

MFC'ed.