freebsd-dev/sys/fs/ext2fs
Conrad Meyer fe8b34563d 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
ext2_acl.h
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
ext2_csum.c
ext2_dinode.h
ext2_dir.h
ext2_extattr.c ext2fs: Remove redundant brelse() after r294954 2019-09-06 08:07:12 +00:00
ext2_extattr.h
ext2_extents.c ext2fs: Remove redundant brelse() after r294954 2019-09-06 08:07:12 +00:00
ext2_extents.h
ext2_extern.h
ext2_hash.c
ext2_htree.c
ext2_inode_cnv.c
ext2_inode.c Rework v_object lifecycle for vnodes. 2019-08-29 07:50:25 +00:00
ext2_lookup.c
ext2_mount.h
ext2_subr.c
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
fs.h
htree.h
inode.h