projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drm/i915: use new macros to access the ring tail register
[linux-2.6-microblaze.git]
/
fs
/
utimes.c
diff --git
a/fs/utimes.c
b/fs/utimes.c
index
e4c75db
..
179b586
100644
(file)
--- a/
fs/utimes.c
+++ b/
fs/utimes.c
@@
-126,7
+126,8
@@
out:
* must be owner or have write permission.
* Else, update from *times, must be owner or super user.
*/
* must be owner or have write permission.
* Else, update from *times, must be owner or super user.
*/
-long do_utimes(int dfd, char __user *filename, struct timespec *times, int flags)
+long do_utimes(int dfd, const char __user *filename, struct timespec *times,
+ int flags)
{
int error = -EINVAL;
{
int error = -EINVAL;
@@
-170,7
+171,7
@@
out:
return error;
}
return error;
}
-SYSCALL_DEFINE4(utimensat, int, dfd, char __user *, filename,
+SYSCALL_DEFINE4(utimensat, int, dfd, c
onst c
har __user *, filename,
struct timespec __user *, utimes, int, flags)
{
struct timespec tstimes[2];
struct timespec __user *, utimes, int, flags)
{
struct timespec tstimes[2];
@@
-188,7
+189,7
@@
SYSCALL_DEFINE4(utimensat, int, dfd, char __user *, filename,
return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags);
}
return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags);
}
-SYSCALL_DEFINE3(futimesat, int, dfd, char __user *, filename,
+SYSCALL_DEFINE3(futimesat, int, dfd, c
onst c
har __user *, filename,
struct timeval __user *, utimes)
{
struct timeval times[2];
struct timeval __user *, utimes)
{
struct timeval times[2];