ANDROID: adjust 5.10 fscrypt merge resolution

Remove a redundant declaration and adjust a comment in order to get
android-mainline in sync with how this merge resolution was done in
android12-5.4 (http://aosp/1469924).

Fixes: 9d77f49849 ("Merge 6f5032a852 ("Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt") into android-mainline")
Change-Id: Ib005bec74f0fb7e7f6aaf2ba03fa293b6bfb6835
Signed-off-by: Eric Biggers <ebiggers@google.com>
This commit is contained in:
Eric Biggers
2020-10-23 10:05:00 -07:00
committed by Greg Kroah-Hartman
parent 2f33651bdf
commit e131b06892

View File

@@ -139,7 +139,6 @@ static inline struct page *fscrypt_pagecache_page(struct page *bounce_page)
}
void fscrypt_free_bounce_page(struct page *bounce_page);
int fscrypt_d_revalidate(struct dentry *dentry, unsigned int flags);
/* policy.c */
int fscrypt_ioctl_set_policy(struct file *filp, const void __user *arg);
@@ -775,7 +774,7 @@ static inline int fscrypt_prepare_rename(struct inode *old_dir,
* directory's encryption key is available, then the lookup is assumed to be by
* plaintext name; otherwise, it is assumed to be by no-key name.
*
* After calling this function, a filesystem should ensure that it's dentry
* After calling this function, a filesystem should ensure that its dentry
* operations contain fscrypt_d_revalidate if DCACHE_NOKEY_NAME was set,
* so that the dentry can be invalidated if the key is later added.
*