ext4: remove unnecessary check in add_dirent_to_buf()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 30 Apr 2012 11:40:00 +0000 (07:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 30 Apr 2012 11:40:00 +0000 (07:40 -0400)
commitb09de7fa5217bbcb4caf3d19bd5e94816947ff7a
treee4ca909438eb43ac5b493793891d626ffd0e6b06
parent5c359a47e7d999a0ea7f397da2c15590d0a82815
ext4: remove unnecessary check in add_dirent_to_buf()

None of this function callers ever pass in a NULL inode pointer, so
this check is unnecessary, and the else clause is dead code.  (This
change should make the code coverage people a little happier.  :-)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/namei.c