diff options
author | Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> | 2009-03-07 10:16:20 -0800 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-03-27 14:44:03 -0400 |
commit | fdbf5348661ac9d519164d1489f30cc0384fda58 (patch) | |
tree | 54c944d78f28a2700aa3424322d7d758fbbde25c /fs/posix_acl.c | |
parent | a3ec947c85ec339884b30ef6a08133e9311fdae1 (diff) | |
download | linux-fdbf5348661ac9d519164d1489f30cc0384fda58.tar.gz linux-fdbf5348661ac9d519164d1489f30cc0384fda58.tar.bz2 linux-fdbf5348661ac9d519164d1489f30cc0384fda58.zip |
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/posix_acl.c')
0 files changed, 0 insertions, 0 deletions