From: Dave Hansen Date: Fri, 15 Feb 2008 22:37:55 +0000 (-0800) Subject: [PATCH] r/o bind mounts: make access() use new r/o helper X-Git-Tag: v2.6.26-rc1~1134^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f676cbc0d60ae806216c7a61c6971bd72dedde8;p=pandora-kernel.git [PATCH] r/o bind mounts: make access() use new r/o helper It is OK to let access() go without using a mnt_want/drop_write() pair because it doesn't actually do writes to the filesystem, and it is inherently racy anyway. This is a rare case when it is OK to use __mnt_is_readonly() directly. Acked-by: Al Viro Signed-off-by: Christoph Hellwig Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Al Viro --- Reading git-diff-tree failed