Author: pfg
Date: Sun Feb  7 15:40:01 2016
New Revision: 295371
URL: https://svnweb.freebsd.org/changeset/base/295371

Log:
  Revert r295359:
  CID 1018688 is a false positive.
  
  The initialization is done by calling vn_start_write(... &mp, flags).
  mp is only an output parameter unless (flags & V_MNTREF), and fdesc
  doesn't put V_MNTREF in flags.
  
  Pointed out by:       bde

Modified:
  head/sys/fs/fdescfs/fdesc_vnops.c

Modified: head/sys/fs/fdescfs/fdesc_vnops.c
==============================================================================
--- head/sys/fs/fdescfs/fdesc_vnops.c   Sun Feb  7 15:36:16 2016        
(r295370)
+++ head/sys/fs/fdescfs/fdesc_vnops.c   Sun Feb  7 15:40:01 2016        
(r295371)
@@ -465,7 +465,7 @@ fdesc_setattr(ap)
 {
        struct vattr *vap = ap->a_vap;
        struct vnode *vp;
-       struct mount *mp = NULL;
+       struct mount *mp;
        struct file *fp;
        struct thread *td = curthread;
        cap_rights_t rights;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to