]> git.karo-electronics.de Git - karo-tx-linux.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)
commita8754beedbdc56864bc5f8c9461929a9b328b899
treea5748167a26b741af9b916a30c686a79312486a3
parentc7eb26678e59f16f4e84f1176d187cd21a27414d
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