From: Bryan Schumaker <bjschuma@xxxxxxxxxx> 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. These patches also help simplify my modules changes since I no longer have to split these functions out of the generic code. Comments or suggestions are appreciated! - Bryan Bryan Schumaker (7): NFS: Rename nfs4_proc_get_root() NFS: Create a single nfs_get_root() NFS: Consistent arguments to nfs_fscache_get_super_cookie() 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 | 622 +++++++++++++---------------------------------------- 6 files changed, 192 insertions(+), 561 deletions(-) -- 1.7.10 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html