diff options
Diffstat (limited to 'net/unix')
-rw-r--r-- | net/unix/af_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index ef4b780ef63d..081679444a6e 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -771,7 +771,7 @@ static struct sock *unix_find_other(struct net *net, | |||
771 | goto put_fail; | 771 | goto put_fail; |
772 | 772 | ||
773 | if (u->sk_type == type) | 773 | if (u->sk_type == type) |
774 | touch_atime(path.mnt, path.dentry); | 774 | touch_atime(&path); |
775 | 775 | ||
776 | path_put(&path); | 776 | path_put(&path); |
777 | 777 | ||
@@ -787,7 +787,7 @@ static struct sock *unix_find_other(struct net *net, | |||
787 | struct dentry *dentry; | 787 | struct dentry *dentry; |
788 | dentry = unix_sk(u)->path.dentry; | 788 | dentry = unix_sk(u)->path.dentry; |
789 | if (dentry) | 789 | if (dentry) |
790 | touch_atime(unix_sk(u)->path.mnt, dentry); | 790 | touch_atime(&unix_sk(u)->path); |
791 | } else | 791 | } else |
792 | goto fail; | 792 | goto fail; |
793 | } | 793 | } |