switch touch_atime to struct path

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2012-03-15 08:21:57 -04:00
parent 40ffe67d2e
commit 68ac1234fb
8 changed files with 21 additions and 19 deletions

View file

@ -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;
}