]> git.baikalelectronics.ru Git - kernel.git/commit
r/o bind mounts: create cleanup helper svc_msnfs()
authorDave Hansen <haveblue@us.ibm.com>
Wed, 17 Oct 2007 06:31:15 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:43:05 +0000 (08:43 -0700)
commit7c2f8b8861cefaaa567835058444e4fe4d8469cb
treea5748167a26b741af9b916a30c686a79312486a3
parent7323b2b8fb2baf840b6d182336b590ac314d57dd
r/o bind mounts: create cleanup helper svc_msnfs()

I'm going to be modifying nfsd_rename() shortly to support read-only bind
mounts.  This #ifdef is around the area I'm patching, and it starts to get
really ugly if I just try to add my new code by itself.  Using this little
helper makes things a lot cleaner to use.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Acked-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfsd/vfs.c