Clean up mount functions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | NFS: Create a single nfs_fill_super() functionfs/ | +6 | 2 replies | |
| 2/10 | NFS: Create a single nfs_clone_super() functionfs/ | +6 | 0 replies | |
| 3/10 | NFS: Fix whitespace errorsfs/ | +2 | 0 replies | |
| 4/10 | NFS: Consistent arguments to nfs_fscache_get_super_cookie()fs/ fs/ fs/ | +12 | 0 replies | |
| 5/10 | NFS: Rename nfs4_proc_get_root()fs/ fs/ fs/ | +5 | 0 replies | |
| 6/10 | NFS: Create a single nfs_get_root()fs/ fs/ fs/ | +30 | 0 replies | |
| 7/10 | NFS: Create a common fs_mount() functionfs/ | +76 | 0 replies | |
| 8/10 | NFS: Create a common xdev_mount() functionfs/ | +28 | 0 replies | |
| 9/10 | NFS: Use nfs_fs_mount_common() for xdev mountsfs/ | +38 | 0 replies | |
| 10/10 | NFS: Use nfs_fs_mount_common() for remote referral mountsfs/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] Clean up mount functions
From: Bryan Schumaker <[email protected]>
I noticed that we had 5 almost identical mount functions in super.c. I collapsed them all into one common function to make everything easier to maintain and work with. The first few patches are basic cleanups, the last four drop us down to one common mount path.
I also hope these patches will simplify my modules changes, but I won't know for sure until I update everything.
Comments or suggestions are appreciated!
- Bryan
Bryan Schumaker (10):
NFS: Create a single nfs_fill_super() function
NFS: Create a single nfs_clone_super() function
NFS: Fix whitespace errors
NFS: Consistent arguments to nfs_fscache_get_super_cookie()
NFS: Rename nfs4_proc_get_root()
NFS: Create a single nfs_get_root()
NFS: Create a common fs_mount() function
NFS: Create a common xdev_mount() function
NFS: Use nfs_fs_mount_common() for xdev mounts
NFS: Use nfs_fs_mount_common() for remote referral mounts
fs/nfs/fscache.c | 13 +- fs/nfs/fscache.h | 2 +- fs/nfs/getroot.c | 85 +------ fs/nfs/nfs4_fs.h | 1 + fs/nfs/nfs4proc.c | 30 ++- fs/nfs/super.c | 664 +++++++++++++---------------------------------------- 6 files changed, 196 insertions(+), 599 deletions(-)
Signature · 1 line
1.7.9.5