2.4.21-rc1-ac2 NFS close-to-open question

Shantanu Goel (sgoel01@yahoo.com)
Sun, 27 Apr 2003 08:12:01 -0700 (PDT)


Hi,

In fs/nfs/inode.c:nfs_open() shouldn't the following

if (NFS_SERVER(inode)->flags & NFS_MOUNT_NOCTO) {
err =
_nfs_revalidate_inode(NFS_SERVER(inode),inode);
if (err)
goto out;
}

be

if (!(NFS_SERVER(inode)->flags & NFS_MOUNT_NOCTO)) {
err =
_nfs_revalidate_inode(NFS_SERVER(inode),inode);
if (err)
goto out;
}

If we desire close-to-open consistency, and assuming
my reading of the code is correct, is this a typo?

Thanks.
Shantanu

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/