nfs: fix handling of invalid mount options in nfs_remount
authorJeff Layton <jlayton@redhat.com>
Mon, 21 Oct 2013 13:52:19 +0000 (09:52 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 28 Oct 2013 18:35:07 +0000 (14:35 -0400)
commit1966903f8e28b31ff82de2e2180f0c066399288d
tree8bd9273ff1c7550e157a65e5114f9150692b31fe
parent57acc40d73407159727b3a1456f0a498133831ba
nfs: fix handling of invalid mount options in nfs_remount

nfs_parse_mount_options returns 0 on error, not -errno.

Reported-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c