[PATCH 0/3] cifs: fix some problems with noserverino + unix extensions

Jeff Layton <[email protected]> Mon, 17 May 2010 07:18:55 -0400
Newsgroups gmane.linux.file-systems.cifs
Message-ID <[email protected]>
This patchset fixes a number of issues with unix extensions when
"noserverino" is specified. The second patch in the set is one I've
posted before. Steve had previously mentioned that he had concerns
about it, but I think it's the right patch for now.

It would be good to eventually check for and handle the situation
where the uniqueid on a path-based operation changes, but I'm not
sure of the right way to handle that at this point and the current
code is clearly broken -- the server-provided uniqueid's are reported
in stat() calls even when noserverino is specified.

Given that, I think that patch #2 should be taken at this time even
if we don't currently handle inode number changes as well as we
should.

Jeff Layton (3):
  cifs: always revalidate hardlinked inodes
  cifs: don't update uniqueid in cifs_fattr_to_inode
  cifs: fix noserverino handling when unix extensions are enabled

 fs/cifs/cifsproto.h |    1 +
 fs/cifs/dir.c       |    1 +
 fs/cifs/inode.c     |   18 +++++++++++++++++-
 3 files changed, 19 insertions(+), 1 deletions(-)