mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
switch touch_atime to struct path
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
40ffe67d2e
commit
68ac1234fb
8 changed files with 21 additions and 19 deletions
|
@ -771,7 +771,7 @@ static struct sock *unix_find_other(struct net *net,
|
|||
goto put_fail;
|
||||
|
||||
if (u->sk_type == type)
|
||||
touch_atime(path.mnt, path.dentry);
|
||||
touch_atime(&path);
|
||||
|
||||
path_put(&path);
|
||||
|
||||
|
@ -787,7 +787,7 @@ static struct sock *unix_find_other(struct net *net,
|
|||
struct dentry *dentry;
|
||||
dentry = unix_sk(u)->path.dentry;
|
||||
if (dentry)
|
||||
touch_atime(unix_sk(u)->path.mnt, dentry);
|
||||
touch_atime(&unix_sk(u)->path);
|
||||
} else
|
||||
goto fail;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue