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
Kirill Smelkov
linux
Commits
d629752f
Commit
d629752f
authored
May 30, 2004
by
Alexander Viro
Committed by
Linus Torvalds
May 30, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sparse alpha: utimes()
... and that's where I'd found do_utimes() crap before I went grepping ;-)
parent
720cc7e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
arch/alpha/kernel/osf_sys.c
arch/alpha/kernel/osf_sys.c
+1
-15
No files found.
arch/alpha/kernel/osf_sys.c
View file @
d629752f
...
...
@@ -948,14 +948,7 @@ osf_setitimer(int which, struct itimerval32 __user *in, struct itimerval32 __use
asmlinkage
int
osf_utimes
(
char
__user
*
filename
,
struct
timeval32
__user
*
tvs
)
{
char
*
kfilename
;
struct
timeval
ktvs
[
2
];
mm_segment_t
old_fs
;
int
ret
;
kfilename
=
getname
(
filename
);
if
(
IS_ERR
(
kfilename
))
return
PTR_ERR
(
kfilename
);
if
(
tvs
)
{
if
(
get_tv32
(
&
ktvs
[
0
],
&
tvs
[
0
])
||
...
...
@@ -963,14 +956,7 @@ osf_utimes(char __user *filename, struct timeval32 __user *tvs)
return
-
EFAULT
;
}
old_fs
=
get_fs
();
set_fs
(
KERNEL_DS
);
ret
=
sys_utimes
(
kfilename
,
tvs
?
ktvs
:
0
);
set_fs
(
old_fs
);
putname
(
kfilename
);
return
ret
;
return
do_utimes
(
filename
,
tvs
?
ktvs
:
0
);
}
#define MAX_SELECT_SECONDS \
...
...
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