Messages in this thread | | | Date | Sun, 27 Apr 2003 08:12:01 -0700 (PDT) | From | Shantanu Goel <> | Subject | 2.4.21-rc1-ac2 NFS close-to-open question |
| |
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/
| |