[linux-cifs-client] [PATCH 00/13] cifs: implement proper hardlink detection (try #3)

Jeff Layton jlayton at redhat.com
Wed May 13 20:04:41 GMT 2009


This set is the third respin of a patchset to fix the hardlink
detection and handling in CIFS. The changes from the last set are
fairly minor:

1) some small patch reorganization (squashing some of the patches
together, mostly)

2) changed most of the *_to_fattr routines to take a pointer to an
already allocated cifs_fattr. Also changed most of the callers to
just declare cifs_fattr on the stack

3) 2 patches from Christoph H. to clean up some of the cifs_acl
interfaces.

4) properly fix get_cifs_acl so that it can work with a NULL inode
pointer. My earlier attempt was broken.

5) fixed a small bug in handling of "noatime" when spawning new
inodes

This patchset seems to properly pass connectathon test suite with
posix extensions enabled and disabled and with cifsacl enabled.

Christoph Hellwig (2):
  cifs: reorganize get_cifs_acl
  cifs: clean up set_cifs_acl interfaces

Jeff Layton (11):
  cifs: have cifs_NTtimeToUnix take a little-endian arg
  cifs: make cnvrtDosUnixTm take a little-endian args and an offset
  cifs: rename cifs_iget to cifs_root_iget
  cifs: add new cifs_iget function and convert unix codepath to use it
  cifs: convert posix readdir codepath to use cifs_iget
  cifs: convert cifs_get_inode_info to use cifs_iget
  cifs: convert non-posix readdir codepath to use cifs_iget
  cifs: remove cifs_new_inode
  cifs: make serverino the default when mounting
  cifs: remove cifsInodeInfo->inUse counter
  cifs: remove "hardlink detection" from cifs_rename

 fs/cifs/cifsacl.c   |  200 +++++++------
 fs/cifs/cifsfs.c    |    3 +-
 fs/cifs/cifsfs.h    |   15 +-
 fs/cifs/cifsglob.h  |   28 ++-
 fs/cifs/cifsproto.h |   21 +-
 fs/cifs/cifssmb.c   |    4 +-
 fs/cifs/connect.c   |    2 +
 fs/cifs/dir.c       |   20 +-
 fs/cifs/file.c      |    2 +-
 fs/cifs/inode.c     |  804 +++++++++++++++++++++------------------------------
 fs/cifs/netmisc.c   |   24 +-
 fs/cifs/readdir.c   |  552 +++++++++++------------------------
 12 files changed, 690 insertions(+), 985 deletions(-)



More information about the linux-cifs-client mailing list