svn commit: r360689 - stable/11/sys/fs/smbfs
Dimitry Andric
dim at FreeBSD.org
Wed May 6 11:40:32 UTC 2020
Author: dim
Date: Wed May 6 11:40:32 2020
New Revision: 360689
URL: https://svnweb.freebsd.org/changeset/base/360689
Log:
MFC r316584 (by cem):
smbfs: Fix an indentation level
Based on the change in r242386, it seems clear that scred was intended to
be released in all paths at exit.
No functional change. This line's indent was just the result of a bad copy
paste from the previous free() in an early exit path.
Reported by: PVS-Studio
Sponsored by: Dell EMC Isilon
Modified:
stable/11/sys/fs/smbfs/smbfs_vnops.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/fs/smbfs/smbfs_vnops.c
==============================================================================
--- stable/11/sys/fs/smbfs/smbfs_vnops.c Wed May 6 11:10:13 2020 (r360688)
+++ stable/11/sys/fs/smbfs/smbfs_vnops.c Wed May 6 11:40:32 2020 (r360689)
@@ -280,7 +280,7 @@ smbfs_getattr(ap)
smbfs_attr_cachelookup(vp, va);
if (np->n_flag & NOPEN)
np->n_size = oldsize;
- smbfs_free_scred(scred);
+ smbfs_free_scred(scred);
return 0;
}
More information about the svn-src-stable-11
mailing list