fs/nfs: remove unnecessary new_valid_dev check
authorYaowei Bai <bywxiaobai@163.com>
Mon, 28 Sep 2015 14:30:32 +0000 (22:30 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 3 Nov 2015 17:31:34 +0000 (12:31 -0500)
commit118c9163562426face9ff0903f1cbd3e1a959ca9
tree283b2dc4d1b025312fdf428e2022e5b328d80528
parent7fc561362da38253522899ccab30c7955d4132df
fs/nfs: 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: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/dir.c