[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87pq5e8fgb.fsf@devron.myhome.or.jp>
Date: Sat, 22 Sep 2012 20:28:04 +0900
From: OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
To: Namjae Jeon <linkinjeon@...il.com>
Cc: akpm@...ux-foundation.org, bfields@...ldses.org,
viro@...iv.linux.org.uk, linux-kernel@...r.kernel.org,
Namjae Jeon <namjae.jeon@...sung.com>,
Ravishankar N <ravi.n1@...sung.com>,
Amit Sahrawat <a.sahrawat@...sung.com>
Subject: Re: [PATCH v3 1/5] fat: modify nfs mount option
Namjae Jeon <linkinjeon@...il.com> writes:
> + case Opt_nfs_full:
> + opts->nfs = FAT_NFS_FULL;
> + break;
> + case Opt_nfs_limited:
> + opts->nfs = FAT_NFS_LIMITED;
> + sb->s_flags |= MS_RDONLY;
> + break;
Check opt->nfs at end of parse_option(). Otherwise, multiple nfs options
would confuse it.
E.g.
mount -o nfs=limited_stable,nfs=full_unstable
--
OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists