Skip to contentSkip to conversation

cifs: shared-superblock - various routines to search disconnected root dentry

PATCH New [email protected] 1 participant 1 message Aug 22, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 3/5 cifs: shared-superblock - various routines to search disconnected root dentry

From: shirish <[email protected]>

The disconnected root dentries in a linked list off of superblock from servers that do not provide uniqueids can be searched by dentries, inodes, and full paths when time comes to search them for either splicing (during lookup) or freeing.

---
 fs/cifs/cifsproto.h |  1 +
 fs/cifs/dir.c       | 95 +++++++++++++++++++++++++++++++++++++++++++++++------
 2 files changed, 86 insertions(+), 10 deletions(-)
fs/cifs/cifsproto.h +1 -0
index c31ce98..c1047e2 100644
@@ -205,6 +205,7 @@ extern void cifs_add_pending_open_locked(struct cifs_fid *fid,
 					 struct tcon_link *tlink,
 					 struct cifs_pending_open *open);
 extern void cifs_del_pending_open(struct cifs_pending_open *open);
+extern void cifs_free_rdelem(struct cifs_rdelem *);
 
 #if IS_ENABLED(CONFIG_CIFS_DFS_UPCALL)
 extern void cifs_dfs_release_automount_timer(void);
fs/cifs/dir.c +85 -10

120 lines not on this page · raw message

Signature · 1 line
1.8.4.5