Commit bf636ed
Al Viro
ceph_d_revalidate(): use stable parent inode passed by caller
No need to mess with the boilerplate for obtaining what we already
have. Note that ceph is one of the "will want a path from filesystem
root if we want to talk to server" cases, so the name of the last
component is of little use - it is passed to fscrypt_d_revalidate()
and it's used to deal with (also crypt-related) case in request
marshalling, when encrypted name turns out to be too long. The former
is not a problem, but the latter is racy; that part will be handled
in the next commit.
Reviewed-by: Jeff Layton <[email protected]>
Reviewed-by: Viacheslav Dubeyko <[email protected]>
Signed-off-by: Al Viro <[email protected]>1 parent da19202 commit bf636ed
1 file changed
+4
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1940 | 1940 | | |
1941 | 1941 | | |
1942 | 1942 | | |
1943 | | - | |
| 1943 | + | |
1944 | 1944 | | |
1945 | 1945 | | |
1946 | 1946 | | |
1947 | 1947 | | |
1948 | 1948 | | |
1949 | | - | |
1950 | | - | |
| 1949 | + | |
1951 | 1950 | | |
1952 | | - | |
| 1951 | + | |
1953 | 1952 | | |
1954 | 1953 | | |
1955 | 1954 | | |
1956 | | - | |
1957 | | - | |
1958 | | - | |
1959 | | - | |
1960 | | - | |
1961 | | - | |
1962 | | - | |
1963 | | - | |
1964 | | - | |
1965 | | - | |
1966 | | - | |
| 1955 | + | |
1967 | 1956 | | |
1968 | 1957 | | |
1969 | 1958 | | |
| |||
2039 | 2028 | | |
2040 | 2029 | | |
2041 | 2030 | | |
2042 | | - | |
2043 | | - | |
2044 | | - | |
2045 | 2031 | | |
2046 | 2032 | | |
2047 | 2033 | | |
| |||
0 commit comments