linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] Clean up mount functions
@ 2012-03-30 19:02 bjschuma
  2012-03-30 19:02 ` [PATCH 01/10] NFS: Create a single nfs_fill_super() function bjschuma
                   ` (10 more replies)
  0 siblings, 11 replies; 15+ messages in thread
From: bjschuma @ 2012-03-30 19:02 UTC (permalink / raw)
  To: Trond.Myklebust; +Cc: linux-nfs, Bryan Schumaker

From: Bryan Schumaker <bjschuma@netapp.com>

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(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-03-30 20:57 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-30 19:02 [PATCH 00/10] Clean up mount functions bjschuma
2012-03-30 19:02 ` [PATCH 01/10] NFS: Create a single nfs_fill_super() function bjschuma
2012-03-30 20:06   ` Fred Isaman
2012-03-30 20:08     ` Bryan Schumaker
2012-03-30 19:02 ` [PATCH 02/10] NFS: Create a single nfs_clone_super() function bjschuma
2012-03-30 19:02 ` [PATCH 03/10] NFS: Fix whitespace errors bjschuma
2012-03-30 19:02 ` [PATCH 04/10] NFS: Consistent arguments to nfs_fscache_get_super_cookie() bjschuma
2012-03-30 19:02 ` [PATCH 05/10] NFS: Rename nfs4_proc_get_root() bjschuma
2012-03-30 19:02 ` [PATCH 06/10] NFS: Create a single nfs_get_root() bjschuma
2012-03-30 19:02 ` [PATCH 07/10] NFS: Create a common fs_mount() function bjschuma
2012-03-30 19:02 ` [PATCH 08/10] NFS: Create a common xdev_mount() function bjschuma
2012-03-30 19:02 ` [PATCH 09/10] NFS: Use nfs_fs_mount_common() for xdev mounts bjschuma
2012-03-30 19:02 ` [PATCH 10/10] NFS: Use nfs_fs_mount_common() for remote referral mounts bjschuma
2012-03-30 20:51 ` [PATCH 00/10] Clean up mount functions Boaz Harrosh
2012-03-30 20:57   ` Myklebust, Trond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).