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

From: Shantanu Goel (sgoel01@yahoo.com)
Date: Sun Apr 27 2003 - 10:12:01 EST


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/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:26 EST