GFS2: Fix remount argument parsing
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 6 Jan 2009 11:52:25 +0000 (11:52 +0000)
committerSteven Whitehouse <steve@dolmen.chygwyn.com>
Tue, 24 Mar 2009 11:21:10 +0000 (11:21 +0000)
commit6f04c1c7fe9566d777fb7961391690866839e722
treede864fb7c56ef59a799c7fddc713bdb16bb4435c
parent8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84
GFS2: Fix remount argument parsing

The following patch fixes an issue relating to remount and argument
parsing. After this fix is applied, remount becomes atomic in that
it either succeeds changing the mount to the new state, or it fails
and leaves it in the old state. Previously it was possible for the
parsing of options to fail part way though and for the fs to be left
in a state where some of the new arguments had been applied, but some
had not.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/mount.c
fs/gfs2/mount.h [deleted file]
fs/gfs2/ops_fstype.c
fs/gfs2/ops_super.c
fs/gfs2/super.h