Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98439
b: refs/heads/master
c: 94c70b9
h: refs/heads/master
i:
  98437: 984d29c
  98435: 6ee567d
  98431: a3b24e6
v: v3
  • Loading branch information
Michael Kerrisk authored and Al Viro committed Jun 23, 2008
1 parent 91b201f commit ce571c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 12fd0d3088d27867be68655bcab2b074f2835f60
refs/heads/master: 94c70b9ba7e9c1036284e779e2fef5be89021533
8 changes: 0 additions & 8 deletions trunk/fs/utimes.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,6 @@ asmlinkage long sys_utimensat(int dfd, char __user *filename, struct timespec __
if (utimes) {
if (copy_from_user(&tstimes, utimes, sizeof(tstimes)))
return -EFAULT;
if ((tstimes[0].tv_nsec == UTIME_OMIT ||
tstimes[0].tv_nsec == UTIME_NOW) &&
tstimes[0].tv_sec != 0)
return -EINVAL;
if ((tstimes[1].tv_nsec == UTIME_OMIT ||
tstimes[1].tv_nsec == UTIME_NOW) &&
tstimes[1].tv_sec != 0)
return -EINVAL;

/* Nothing to do, we must not even check the path. */
if (tstimes[0].tv_nsec == UTIME_OMIT &&
Expand Down

0 comments on commit ce571c6

Please sign in to comment.