diff options
author | Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> | 2009-03-07 18:16:20 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-03-27 18:44:03 (GMT) |
commit | fdbf5348661ac9d519164d1489f30cc0384fda58 (patch) | |
tree | 54c944d78f28a2700aa3424322d7d758fbbde25c /fs/adfs | |
parent | a3ec947c85ec339884b30ef6a08133e9311fdae1 (diff) | |
download | linux-fsl-qoriq-fdbf5348661ac9d519164d1489f30cc0384fda58.tar.xz |
Unroll essentials of do_remount_sb() into devpts
On remount, devpts fs only needs to parse the mount options. Users cannot
directly create/dirty files in /dev/pts so the MS_RDONLY flag and
shrinking the dcache does not really apply to devpts.
So effectively on remount, devpts only parses the mount options and updates
these options in its super block. As such, we could replace do_remount_sb()
call with a direct parse_mount_options().
Doing so enables subsequent patches to avoid parsing the mount options twice
and simplify the code.
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/adfs')
0 files changed, 0 insertions, 0 deletions