nilfs2: pass remount flag to parse_options
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 5 Jul 2010 11:08:33 +0000 (20:08 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Fri, 23 Jul 2010 01:02:12 +0000 (10:02 +0900)
commit7c01745781177795e39f78b2c2c42c470a13833a
tree20ffcebedce21dba5b9fb8180cdca1e06b42fd41
parentc6b4d57ddf12f3fd4d41d7b3b9181de46748418d
nilfs2: pass remount flag to parse_options

This adds is_remount argument to the parse_options() function that
obtains mount options from strings.

Previously, parse_options did not distinguish context whether it's
called for a new mount or remount, so the caller needed additional
verifications outside the function.

This allows parse_options to verify options and print messages
depending on the context.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/super.c