Thread (18 messages) 18 messages, 3 authors, 2021-02-06

Re: [PATCH v2] cifs: report error instead of invalid when revalidating a dentry fails

From: Aurélien Aptel <hidden>
Date: 2021-02-02 17:38:26
Also in: linux-cifs

Shyam Prasad N [off-list ref] writes:
What does cifs_revalidate_dentry return when the dentry is no longer exists?
I'm guessing that it'll return some error (ENOENT?). Do we need to
treat that as a special case and return 0 (invalid)?
Yes it seems to return ENOENT; I'll send a v3. Are there other errors we
should consider?

Cheers,
-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help