Fixed typo in po_rightmost() that was cause options like nolock, bg, udp, tcp, proto, v2, v3, vers, nfsvers to either be ignored or interrupted Signed-off-by: Steve Dickson <steved@xxxxxxxxxx> diff --git a/utils/mount/parse_opt.c b/utils/mount/parse_opt.c index 4934508..280f3e5 100644 --- a/utils/mount/parse_opt.c +++ b/utils/mount/parse_opt.c @@ -448,7 +448,7 @@ unsigned int po_rightmost(struct mount_options *options, const char *keys[]) for (option = options->tail; option; option = option->prev) { for (i = 0; keys[i] != NULL; i++) if (strcmp(option->keyword, keys[i]) == 0) - return i; + return i+1; } } -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html