fs/ext4: remove unnecessary new_valid_dev check
authorYaowei Bai <bywxiaobai@163.com>
Thu, 29 Oct 2015 18:18:13 +0000 (14:18 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 29 Oct 2015 18:18:13 +0000 (14:18 -0400)
commitbe69e1c19f0efb091f29521715c380842fa4cd7e
treec4fd5f84c285ab2eaf9a9331dc516127fe4c4a6e
parent16175039e6c6527453a23b4949c2a68e82750895
fs/ext4: remove unnecessary new_valid_dev check

As new_valid_dev always returns 1, so !new_valid_dev check is not
needed, remove it.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/namei.c