Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347858
b: refs/heads/master
c: a69201d
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Layton authored and Al Viro committed Dec 20, 2012
1 parent d170dcb commit 72c94d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 96948fc6069b68380abac2944b8b02b43a2e2057
refs/heads/master: a69201d6f08240f20a0d33a1b7273d1e7748791c
6 changes: 5 additions & 1 deletion trunk/fs/utimes.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,17 @@ long do_utimes(int dfd, const char __user *filename, struct timespec *times,

if (!(flags & AT_SYMLINK_NOFOLLOW))
lookup_flags |= LOOKUP_FOLLOW;

retry:
error = user_path_at(dfd, filename, lookup_flags, &path);
if (error)
goto out;

error = utimes_common(&path, times);
path_put(&path);
if (retry_estale(error, lookup_flags)) {
lookup_flags |= LOOKUP_REVAL;
goto retry;
}
}

out:
Expand Down

0 comments on commit 72c94d9

Please sign in to comment.