linux-stable/fs/coda
David Howells 5916f439f2 Convert coda to use the new mount API
Convert the coda filesystem to the new internal mount API as the old
one will be obsoleted and removed.  This allows greater flexibility in
communication of mount parameters between userspace, the VFS and the
filesystem.

See Documentation/filesystems/mount_api.rst for more information.

Note this is slightly tricky as coda currently only has a binary mount data
interface.  This is handled through the parse_monolithic hook.

Also add a more conventional interface with a parameter named "fd" that
takes an fd that refers to a coda psdev, thereby specifying the index to
use.

Signed-off-by: David Howells <dhowells@redhat.com>
Co-developed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
[sandeen: forward port to current upstream mount API interfaces]
Link: https://lore.kernel.org/r/97650eeb-94c7-4041-b58c-90e81e76b699@redhat.com
Tested-by: Jan Harkes <jaharkes@cs.cmu.edu>
Reviewed-by: Ian Kent <raven@themaw.net>
cc: coda@cs.cmu.edu
Signed-off-by: Christian Brauner <brauner@kernel.org>
2024-02-22 10:03:38 +01:00
..
cache.c dentry: switch the lists of children to hlist 2023-11-25 02:32:13 -05:00
cnode.c coda: avoid doing bad things on inode type changes during revalidation 2021-11-09 10:02:51 -08:00
coda_cache.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
coda_fs_i.h coda: add hinting support for partial file caching 2019-07-16 19:23:23 -07:00
coda_int.h coda: remove sysctl object from module when unused 2019-07-16 19:23:23 -07:00
coda_linux.c coda: convert to new timestamp accessors 2023-10-18 13:26:19 +02:00
coda_linux.h fs: port ->permission() to pass mnt_idmap 2023-01-19 09:24:28 +01:00
coda_psdev.h coda: add hinting support for partial file caching 2019-07-16 19:23:23 -07:00
dir.c coda: convert to new timestamp accessors 2023-10-18 13:26:19 +02:00
file.c fs: move file_start_write() into vfs_iter_write() 2023-11-24 10:09:51 +01:00
inode.c Convert coda to use the new mount API 2024-02-22 10:03:38 +01:00
Kconfig docs: filesystems: convert coda.txt to ReST 2020-05-05 09:22:21 -06:00
Makefile coda: remove sysctl object from module when unused 2019-07-16 19:23:23 -07:00
pioctl.c fs: port ->permission() to pass mnt_idmap 2023-01-19 09:24:28 +01:00
psdev.c driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
symlink.c coda: Convert coda_symlink_filler() to use a folio 2022-08-02 12:34:03 -04:00
sysctl.c coda: Remove the now superfluous sentinel elements from ctl_table array 2023-12-28 04:57:57 -08:00
upcall.c coda: Avoid partial allocation of sig_inputArgs 2023-02-08 15:26:58 -08:00