|
@@ -2500,7 +2500,7 @@ static int nfs_execute_ok(struct inode *inode, int mask)
|
|
struct nfs_server *server = NFS_SERVER(inode);
|
|
struct nfs_server *server = NFS_SERVER(inode);
|
|
int ret = 0;
|
|
int ret = 0;
|
|
|
|
|
|
- if (nfs_check_cache_invalid(inode, NFS_INO_INVALID_ACCESS)) {
|
|
|
|
|
|
+ if (nfs_check_cache_invalid(inode, NFS_INO_INVALID_OTHER)) {
|
|
if (mask & MAY_NOT_BLOCK)
|
|
if (mask & MAY_NOT_BLOCK)
|
|
return -ECHILD;
|
|
return -ECHILD;
|
|
ret = __nfs_revalidate_inode(server, inode);
|
|
ret = __nfs_revalidate_inode(server, inode);
|