mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 15:29:16 +00:00
Merge branch 'bcachefs-kill-retry-estale' into HEAD
This commit is contained in:
commit
db84812eb8
@ -406,7 +406,7 @@ static long bch2_ioctl_subvolume_create(struct bch_fs *c, struct file *filp,
|
|||||||
sync_inodes_sb(c->vfs_sb);
|
sync_inodes_sb(c->vfs_sb);
|
||||||
up_read(&c->vfs_sb->s_umount);
|
up_read(&c->vfs_sb->s_umount);
|
||||||
}
|
}
|
||||||
retry:
|
|
||||||
if (arg.src_ptr) {
|
if (arg.src_ptr) {
|
||||||
error = user_path_at(arg.dirfd,
|
error = user_path_at(arg.dirfd,
|
||||||
(const char __user *)(unsigned long)arg.src_ptr,
|
(const char __user *)(unsigned long)arg.src_ptr,
|
||||||
@ -486,11 +486,6 @@ err3:
|
|||||||
err2:
|
err2:
|
||||||
if (arg.src_ptr)
|
if (arg.src_ptr)
|
||||||
path_put(&src_path);
|
path_put(&src_path);
|
||||||
|
|
||||||
if (retry_estale(error, lookup_flags)) {
|
|
||||||
lookup_flags |= LOOKUP_REVAL;
|
|
||||||
goto retry;
|
|
||||||
}
|
|
||||||
err1:
|
err1:
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user