Loading fs/cifs/readdir.c +2 −4 Original line number Diff line number Diff line Loading @@ -1105,10 +1105,8 @@ int cifs_readdir(struct file *file, struct dir_context *ctx) * find_cifs_entry in case there will be reconnects during * query_directory. */ if (cfid) { close_cached_dir(cfid); cfid = NULL; } cache_not_found: /* Loading fs/cifs/smb2ops.c +1 −0 Original line number Diff line number Diff line Loading @@ -770,6 +770,7 @@ smb2_cached_lease_break(struct work_struct *work) /* * Open the and cache a directory handle. * Only supported for the root handle. * If error then *cfid is not initialized. */ int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, const char *path, Loading Loading
fs/cifs/readdir.c +2 −4 Original line number Diff line number Diff line Loading @@ -1105,10 +1105,8 @@ int cifs_readdir(struct file *file, struct dir_context *ctx) * find_cifs_entry in case there will be reconnects during * query_directory. */ if (cfid) { close_cached_dir(cfid); cfid = NULL; } cache_not_found: /* Loading
fs/cifs/smb2ops.c +1 −0 Original line number Diff line number Diff line Loading @@ -770,6 +770,7 @@ smb2_cached_lease_break(struct work_struct *work) /* * Open the and cache a directory handle. * Only supported for the root handle. * If error then *cfid is not initialized. */ int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, const char *path, Loading