Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
80cbc5b9
Commit
80cbc5b9
authored
Aug 23, 2002
by
Solar Designer
Committed by
David S. Miller
Aug 23, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/unix/af_unix.c: Set ATIME on socket inode.
parent
5ea72c77
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
net/unix/af_unix.c
net/unix/af_unix.c
+9
-1
No files found.
net/unix/af_unix.c
View file @
80cbc5b9
...
...
@@ -618,6 +618,9 @@ static unix_socket *unix_find_other(struct sockaddr_un *sunname, int len,
if
(
!
u
)
goto
put_fail
;
if
(
u
->
type
==
type
)
UPDATE_ATIME
(
nd
.
dentry
->
d_inode
);
path_release
(
&
nd
);
err
=-
EPROTOTYPE
;
...
...
@@ -628,7 +631,12 @@ static unix_socket *unix_find_other(struct sockaddr_un *sunname, int len,
}
else
{
err
=
-
ECONNREFUSED
;
u
=
unix_find_socket_byname
(
sunname
,
len
,
type
,
hash
);
if
(
!
u
)
if
(
u
)
{
struct
dentry
*
dentry
;
dentry
=
u
->
protinfo
.
af_unix
.
dentry
;
if
(
dentry
)
UPDATE_ATIME
(
dentry
->
d_inode
);
}
else
goto
fail
;
}
return
u
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment