ext4: remove unnecessary NULL pointer check
authorGuo Chao <yan@linux.vnet.ibm.com>
Tue, 29 Jan 2013 02:41:02 +0000 (21:41 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 29 Jan 2013 02:41:02 +0000 (21:41 -0500)
commitb1deefc99e668348f7c785c6ece5f6ff4c6d8b5c
treece16d0377ace3dfd7c0a4ecefc27f29a8ee431c2
parent41be871f747f64e076b09a68ae82a643e2ffb215
ext4: remove unnecessary NULL pointer check

brelse() and ext4_journal_force_commit() are both inlined and able
to handle NULL.

Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/namei.c
fs/ext4/super.c