switch touch_atime to struct path
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user