diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-07-29 12:05:22 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-07-29 12:05:22 +0200 |
commit | c1b2cc1a765aff4df7b22abe6b66014236f73eba (patch) | |
tree | 4c636a9e95f0c0baf9cc4906bca897d8daab7558 /crypto/rmd256.c | |
parent | 1b91dbdd2938a0102fea2d8853073159f2b08deb (diff) |
ovl: check mounter creds on underlying lookup
The hash salting changes meant that we can no longer reuse the hash in the
overlay dentry to look up the underlying dentry.
Instead of lookup_hash(), use lookup_one_len_unlocked() and swith to
mounter's creds (like we do for all other operations later in the series).
Now the lookup_hash() export introduced in 4.6 by 3c9fe8cdff1b ("vfs: add
lookup_hash() helper") is unused and can possibly be removed; its
usefulness negated by the hash salting and the idea that mounter's creds
should be used on operations on underlying filesystems.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Fixes: 8387ff2577eb ("vfs: make the string hashes salt the hash")
Diffstat (limited to 'crypto/rmd256.c')
0 files changed, 0 insertions, 0 deletions