Author: cem
Date: Fri Sep  6 08:07:36 2019
New Revision: 351927
URL: https://svnweb.freebsd.org/changeset/base/351927

Log:
  cd9660: Remove redundant brelse() after r294954
  
  Same automation.
  
  No functional change.

Modified:
  head/sys/fs/cd9660/cd9660_vfsops.c
  head/sys/fs/cd9660/cd9660_vnops.c

Modified: head/sys/fs/cd9660/cd9660_vfsops.c
==============================================================================
--- head/sys/fs/cd9660/cd9660_vfsops.c  Fri Sep  6 08:07:12 2019        
(r351926)
+++ head/sys/fs/cd9660/cd9660_vfsops.c  Fri Sep  6 08:07:36 2019        
(r351927)
@@ -753,7 +753,6 @@ cd9660_vget_internal(mp, ino, flags, vpp, relocated, i
                              imp->logical_block_size, NOCRED, &bp);
                if (error) {
                        vput(vp);
-                       brelse(bp);
                        printf("fhtovp: bread error %d\n",error);
                        return (error);
                }

Modified: head/sys/fs/cd9660/cd9660_vnops.c
==============================================================================
--- head/sys/fs/cd9660/cd9660_vnops.c   Fri Sep  6 08:07:12 2019        
(r351926)
+++ head/sys/fs/cd9660/cd9660_vnops.c   Fri Sep  6 08:07:36 2019        
(r351927)
@@ -689,7 +689,6 @@ cd9660_readlink(ap)
                      (imp->im_bshift - DEV_BSHIFT),
                      imp->logical_block_size, NOCRED, &bp);
        if (error) {
-               brelse(bp);
                return (EINVAL);
        }
 
_______________________________________________
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