diff options
| author | Dave Hansen <[email protected]> | 2008-02-15 14:37:55 -0800 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2008-04-19 00:29:26 -0400 |
| commit | 2f676cbc0d60ae806216c7a61c6971bd72dedde8 (patch) | |
| tree | 57287366150093260f18bdbe81596492e3e40aa1 /include/linux | |
| parent | 9ac9b8474c39c3ae2c2b37d8e1f08db8a9146124 (diff) | |
[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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions