summaryrefslogtreecommitdiffstats
path: root/fs/fuse
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2019-09-25 16:46:55 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-09-25 17:51:39 -0700
commitd256085be12dc3b24e7b19c357e975a37dbff509 (patch)
treea8e0eb4110e2c1c297789b33a598eb16b8dcae44 /fs/fuse
parentdbbf869da3adeba4a6beae4ecc184e47a16d078d (diff)
downloadlinux-stable-d256085be12dc3b24e7b19c357e975a37dbff509.tar.gz
linux-stable-d256085be12dc3b24e7b19c357e975a37dbff509.tar.bz2
linux-stable-d256085be12dc3b24e7b19c357e975a37dbff509.zip
fs: reiserfs: remove unnecessary check of bh in remove_from_transaction()
On lines 3430-3434, bh has been assured to be non-null: cn = get_journal_hash_dev(sb, journal->j_hash_table, blocknr); if (!cn || !cn->bh) { return ret; } bh = cn->bh; Thus, the check of bh on line 3447 is unnecessary and can be removed. Thank Andrew Morton for good advice. Link: http://lkml.kernel.org/r/20190727084019.11307-1-baijiaju1990@gmail.com Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com> Reviewed-by: Jan Kara <jack@suse.cz> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Hariprasad Kelam <hariprasad.kelam@gmail.com> Cc: Bharath Vedartham <linux.bhar@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fuse')
0 files changed, 0 insertions, 0 deletions