linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.21-rc1-ac2 NFS close-to-open question
@ 2003-04-27 15:12 Shantanu Goel
  2003-04-27 15:56 ` Trond Myklebust
  0 siblings, 1 reply; 6+ messages in thread
From: Shantanu Goel @ 2003-04-27 15:12 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-05-07 19:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-27 15:12 2.4.21-rc1-ac2 NFS close-to-open question Shantanu Goel
2003-04-27 15:56 ` Trond Myklebust
2003-05-06  2:28   ` Mike Fedyk
2003-05-06 12:50     ` Trond Myklebust
2003-05-06 16:21       ` Mike Fedyk
2003-05-07 19:37       ` Mike Fedyk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).