Date: Fri, 6 Sep 2019 08:07:36 +0000 (UTC) From: Conrad Meyer <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r351927 - head/sys/fs/cd9660 Message-ID: <201909060807.x8687aPZ050859@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909060807.x8687aPZ050859>