Commit 541795c
Al Viro
ceph_d_revalidate(): propagate stable name down into request encoding
Currently get_fscrypt_altname() requires ->r_dentry->d_name to be stable
and it gets that in almost all cases. The only exception is ->d_revalidate(),
where we have a stable name, but it's passed separately - dentry->d_name
is not stable there.
Propagate it down to get_fscrypt_altname() as a new field of struct
ceph_mds_request - ->r_dname, to be used instead ->r_dentry->d_name
when non-NULL.
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Al Viro <[email protected]>1 parent bf636ed commit 541795c
3 files changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1998 | 1998 | | |
1999 | 1999 | | |
2000 | 2000 | | |
| 2001 | + | |
| 2002 | + | |
2001 | 2003 | | |
2002 | 2004 | | |
2003 | 2005 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2621 | 2621 | | |
2622 | 2622 | | |
2623 | 2623 | | |
| 2624 | + | |
2624 | 2625 | | |
2625 | 2626 | | |
2626 | 2627 | | |
| |||
2641 | 2642 | | |
2642 | 2643 | | |
2643 | 2644 | | |
2644 | | - | |
2645 | | - | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
2646 | 2649 | | |
2647 | 2650 | | |
2648 | 2651 | | |
| |||
2657 | 2660 | | |
2658 | 2661 | | |
2659 | 2662 | | |
2660 | | - | |
| 2663 | + | |
2661 | 2664 | | |
2662 | 2665 | | |
2663 | 2666 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| 302 | + | |
| 303 | + | |
302 | 304 | | |
303 | 305 | | |
304 | 306 | | |
| |||
0 commit comments