svn commit: r316584 - head/sys/fs/smbfs
Conrad Meyer
cem at FreeBSD.org
Thu Apr 6 17:31:59 UTC 2017
Author: cem
Date: Thu Apr 6 17:31:58 2017
New Revision: 316584
URL: https://svnweb.freebsd.org/changeset/base/316584
Log:
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:
head/sys/fs/smbfs/smbfs_vnops.c
Modified: head/sys/fs/smbfs/smbfs_vnops.c
==============================================================================
--- head/sys/fs/smbfs/smbfs_vnops.c Thu Apr 6 17:16:41 2017 (r316583)
+++ head/sys/fs/smbfs/smbfs_vnops.c Thu Apr 6 17:31:58 2017 (r316584)
@@ -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-all
mailing list