fs/jfs: remove unnecessary new_valid_dev() checks
authorYaowei Bai <bywxiaobai@163.com>
Wed, 21 Oct 2015 22:13:27 +0000 (09:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 5 Nov 2015 05:11:49 +0000 (16:11 +1100)
commitaf9bec4de086c0ae75efdb75221cb7a3270f3f62
tree08aedba71b5c42177ce9636fd3b8e374258e8f94
parent156df820c437badb8480cf7bd84c8a4758e1767f
fs/jfs: remove unnecessary new_valid_dev() checks

new_valid_dev() always returns 1, so the !new_valid_dev() checks are not
needed.  Remove them.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Acked-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/jfs/namei.c
fs/jfs/super.c