cifs: implement proper hardlink detection (try #3)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | cifs: have cifs_NTtimeToUnix take a little-endian argfs/ fs/ fs/ +2 more | +20 | 1 reply | |
| 2/13 | cifs: make cnvrtDosUnixTm take a little-endian args and an offsetfs/ fs/ fs/ +1 more | +18 | 1 reply | |
| 3/13 | cifs: reorganize get_cifs_aclfs/ fs/ fs/ | +55 | 0 replies | |
| 4/13 | cifs: clean up set_cifs_acl interfacesfs/ | +41 | 3 replies | |
| 5/13 | cifs: rename cifs_iget to cifs_root_igetfs/ fs/ fs/ | +3 | 1 reply | |
| 6/13 | cifs: add new cifs_iget function and convert unix codepath to use itfs/ fs/ fs/ +2 more | +254 | 0 replies | |
| 7/13 | cifs: convert posix readdir codepath to use cifs_igetfs/ | +145 | 0 replies | |
| 8/13 | cifs: convert cifs_get_inode_info to use cifs_igetfs/ fs/ fs/ +1 more | +165 | 0 replies | |
| 9/13 | cifs: convert non-posix readdir codepath to use cifs_igetfs/ fs/ fs/ | +83 | 0 replies | |
| 10/13 | cifs: remove cifs_new_inodefs/ fs/ | +0 | 0 replies | |
| 11/13 | cifs: make serverino the default when mountingfs/ | +2 | 0 replies | |
| 12/13 | cifs: remove cifsInodeInfo->inUse counterfs/ fs/ | +0 | 0 replies | |
| 13/13 | cifs: remove "hardlink detection" from cifs_renamefs/ | +1 | 0 replies |
Reviews trailers per patch
3 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig |
|---|---|
| 1/13 | R-b |
| 2/13 | R-b |
| 3/13 | |
| 4/13 | |
| 5/13 | R-b |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | |
| 10/13 | |
| 11/13 | |
| 12/13 | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/13] cifs: implement proper hardlink detection (try #3)
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(-)