cifs: shared-superblock - various routines to search disconnected root dentry
Subsystems (3)
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
@@ -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