freebsd-skq/sys/fs/ext2fs
cem 7f9495dbd1 ext2fs: Remove redundant brelse() after r294954
Coccinelle:

@ rule1 @
 identifier __error;
@@
 ...
 int __error;
 ...

@ rule2 depends on rule1 @
 identifier rule1.__error;
 identifier __bp;
@@

 __error =
(
 bread
|
 bread_gb
|
 breadn
|
 breadn_flags
)
 (..., &__bp);
 if (
(
 __error
|
 __error != 0
)
 ) {
 ...
- brelse(__bp);
 ...
 }

No functional change.
2019-09-06 08:07:12 +00:00
..
ext2_acl.c SPDX: Complete license IDs for ext2fs. 2017-12-02 17:22:55 +00:00
ext2_acl.h SPDX: Complete license IDs for ext2fs. 2017-12-02 17:22:55 +00:00
ext2_alloc.c ext2fs: Remove redundant brelse() after r294954 2019-09-06 08:07:12 +00:00
ext2_balloc.c ext2fs: Remove redundant brelse() after r294954 2019-09-06 08:07:12 +00:00
ext2_bmap.c Fix EXT2FS_DEBUG definition usage. 2018-05-13 19:19:10 +00:00
ext2_csum.c Separate kernel crc32() implementation to its own header (gsb_crc32.h) and 2019-06-17 19:49:08 +00:00
ext2_dinode.h Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
ext2_dir.h Split the dir_index and dir_nlink features. 2018-08-08 12:08:46 +00:00
ext2_extattr.c ext2fs: Remove redundant brelse() after r294954 2019-09-06 08:07:12 +00:00
ext2_extattr.h Add metadata_csum feature support. 2018-01-14 20:46:39 +00:00
ext2_extents.c ext2fs: Remove redundant brelse() after r294954 2019-09-06 08:07:12 +00:00
ext2_extents.h ext2fs: Initial version of DTrace support. 2019-04-16 11:20:10 +00:00
ext2_extern.h ext2fs: Initial version of DTrace support. 2019-04-16 11:20:10 +00:00
ext2_hash.c ext2fs: Initial version of DTrace support. 2019-04-16 11:20:10 +00:00
ext2_htree.c ext2fs: Initial version of DTrace support. 2019-04-16 11:20:10 +00:00
ext2_inode_cnv.c ext2fs: Initial version of DTrace support. 2019-04-16 11:20:10 +00:00
ext2_inode.c Rework v_object lifecycle for vnodes. 2019-08-29 07:50:25 +00:00
ext2_lookup.c ext2fs: Initial version of DTrace support. 2019-04-16 11:20:10 +00:00
ext2_mount.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ext2_subr.c ext2fs: Initial version of DTrace support. 2019-04-16 11:20:10 +00:00
ext2_vfsops.c ext2fs: Remove redundant brelse() after r294954 2019-09-06 08:07:12 +00:00
ext2_vnops.c Avoid relying on header pollution from sys/refcount.h. 2019-07-29 20:26:01 +00:00
ext2fs.h Add additional on-disk inode checks. 2019-03-04 10:55:01 +00:00
fs.h ext2fs: Initial version of DTrace support. 2019-04-16 11:20:10 +00:00
htree.h Add metadata_csum feature support. 2018-01-14 20:46:39 +00:00
inode.h Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00