Commit 80c8afd
nfsd: allow DELEGRETURN on directories
As Trond pointed out: "...provided that the presented stateid is
actually valid, it is also sufficient to uniquely identify the file to
which it is associated (see RFC8881 Section 8.2.4), so the filehandle
should be considered mostly irrelevant for operations like DELEGRETURN."
Don't ask fh_verify to filter on file type.
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20251111-dir-deleg-ro-v6-15-52f3feebb2f2@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>1 parent 544a0ee commit 80c8afd
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7828 | 7828 | | |
7829 | 7829 | | |
7830 | 7830 | | |
7831 | | - | |
| 7831 | + | |
| 7832 | + | |
7832 | 7833 | | |
7833 | 7834 | | |
7834 | 7835 | | |
| |||
0 commit comments