diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2012-06-05 15:10:21 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-14 16:33:12 +0400 |
commit | eda72afb9ef9f45941fb09260c0f268ff81ec40d (patch) | |
tree | cc2fa751ec6f0f2b0efb2ec15c7a12327f98157c /fs/dlm/lvb_table.h | |
parent | 50de348c3604f7684a89ce64180666d4dd74623f (diff) |
nfs: don't use intents for checking atomic open
is_atomic_open() is now only used by nfs4_lookup_revalidate() to check whether
it's okay to skip normal revalidation.
It does a racy check for mount read-onlyness and falls back to normal
revalidation if the open would fail. This makes little sense now that this
function isn't used for determining whether to actually open the file or not.
The d_mountpoint() check still makes sense since it is an indication that we
might be following a mount and so open may not revalidate the dentry.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/dlm/lvb_table.h')
0 files changed, 0 insertions, 0 deletions