Revert "Merge 5.10.220 into android12-5.10-lts"
This reverts commit87a7f35a24
, reversing changes made to640645c85b
. 5.10.220 is a bunch of vfs and nfs changes that are not needed in Android systems, so revert the whole lot all at once, except for the version number bump. Change-Id: If28dc2231f27d326d3730716f23545dd0a2cdc75 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -959,7 +959,7 @@ static struct sock *unix_find_other(struct net *net,
|
||||
if (err)
|
||||
goto fail;
|
||||
inode = d_backing_inode(path.dentry);
|
||||
err = path_permission(&path, MAY_WRITE);
|
||||
err = inode_permission(inode, MAY_WRITE);
|
||||
if (err)
|
||||
goto put_fail;
|
||||
|
||||
|
Reference in New Issue
Block a user