|
@@ -173,14 +173,6 @@ asmlinkage long sys_utimensat(int dfd, char __user *filename, struct timespec __
|
|
if (utimes) {
|
|
if (utimes) {
|
|
if (copy_from_user(&tstimes, utimes, sizeof(tstimes)))
|
|
if (copy_from_user(&tstimes, utimes, sizeof(tstimes)))
|
|
return -EFAULT;
|
|
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. */
|
|
/* Nothing to do, we must not even check the path. */
|
|
if (tstimes[0].tv_nsec == UTIME_OMIT &&
|
|
if (tstimes[0].tv_nsec == UTIME_OMIT &&
|