r/o bind mounts: give permission() a local 'mnt' variable
commitc7eb26678e59f16f4e84f1176d187cd21a27414d
authorDave Hansen <haveblue@us.ibm.com>
Wed, 17 Oct 2007 06:31:14 +0000 (16 23:31 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:43:05 +0000 (17 08:43 -0700)
treebf58c7f877846d204d417021b8608e1446bc3ea8
parentb41572e929221b0d87f529106cdf12185ee84bca
r/o bind mounts: give permission() a local 'mnt' variable

First of all, this makes the structure jumping look a little bit cleaner.  So,
this stands alone as a tiny cleanup.  But, we also need 'mnt' by itself a few
more times later in this series, so this isn't _just_ a cleanup.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namei.c