]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit232a7d97ddb5e439828c469a2f6fcda9cedee67e
treece16d0377ace3dfd7c0a4ecefc27f29a8ee431c2
parent3b8cc0d9d6f366170f79760b8a8113656df0a7a5
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