Lines Matching refs:error
53 int error; in utimes_common() local
58 error = mnt_want_write(path->mnt); in utimes_common()
59 if (error) in utimes_common()
95 error = -EACCES; in utimes_common()
100 error = inode_permission(inode, MAY_WRITE); in utimes_common()
101 if (error) in utimes_common()
107 error = notify_change(path->dentry, &newattrs, &delegated_inode); in utimes_common()
110 error = break_deleg_wait(&delegated_inode); in utimes_common()
111 if (!error) in utimes_common()
118 return error; in utimes_common()
139 int error = -EINVAL; in do_utimes() local
156 error = -EBADF; in do_utimes()
160 error = utimes_common(&f.file->f_path, times); in do_utimes()
169 error = user_path_at(dfd, filename, lookup_flags, &path); in do_utimes()
170 if (error) in do_utimes()
173 error = utimes_common(&path, times); in do_utimes()
175 if (retry_estale(error, lookup_flags)) { in do_utimes()
182 return error; in do_utimes()