Revert "ANDROID: vfs: Add setattr2 for filesystems with per mount permissions"

This reverts commit 044366659c as it is no
longer needed that sdcardfs is removed.

Bug: 157700134
Cc: Daniel Rosenberg <[email protected]>
Cc: Yongqin Liu <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: I721aa74cca4afccd7628ef3728d5fbfc43050e9e
This commit is contained in:
Greg Kroah-Hartman 2020-05-29 11:20:55 +02:00
commit 04acc4cf60
7 changed files with 16 additions and 37 deletions

View file

@ -57,7 +57,7 @@ static int utimes_common(const struct path *path, struct timespec64 *times)
}
retry_deleg:
inode_lock(inode);
error = notify_change2(path->mnt, path->dentry, &newattrs, &delegated_inode);
error = notify_change(path->dentry, &newattrs, &delegated_inode);
inode_unlock(inode);
if (delegated_inode) {
error = break_deleg_wait(&delegated_inode);