diff options
author | pfg <pfg@FreeBSD.org> | 2016-02-07 15:40:01 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-02-07 15:40:01 +0000 |
commit | d7b2b433b412071b70e0ec74bb4e2b5885c3c93e (patch) | |
tree | 91af36a3e28ee809419e76aa9f9b9a4e4aa3a7dd /sys/fs/fdescfs | |
parent | b42dfac65547da9f8e3778f95d4af3448f362dda (diff) | |
download | FreeBSD-src-d7b2b433b412071b70e0ec74bb4e2b5885c3c93e.zip FreeBSD-src-d7b2b433b412071b70e0ec74bb4e2b5885c3c93e.tar.gz |
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
Diffstat (limited to 'sys/fs/fdescfs')
-rw-r--r-- | sys/fs/fdescfs/fdesc_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index a90f4dc..1b0e569 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -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; |