]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitece437dbd16d890a6fd0fd1c4d220669b50f4caf
tree8bd9273ff1c7550e157a65e5114f9150692b31fe
parent6996971a24fee259b8801eb61ab4bd73f0238391
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