mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 16:52:18 +00:00
bcachefs: kill retry_estale() in bch2_ioctl_subvolume_create()
this was likely originally cribbed, and has been dead code, and Al is working on removing it from the tree. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
9852d85ec9
commit
3d1ea1c0ae
@ -406,7 +406,7 @@ static long bch2_ioctl_subvolume_create(struct bch_fs *c, struct file *filp,
|
||||
sync_inodes_sb(c->vfs_sb);
|
||||
up_read(&c->vfs_sb->s_umount);
|
||||
}
|
||||
retry:
|
||||
|
||||
if (arg.src_ptr) {
|
||||
error = user_path_at(arg.dirfd,
|
||||
(const char __user *)(unsigned long)arg.src_ptr,
|
||||
@ -486,11 +486,6 @@ static long bch2_ioctl_subvolume_create(struct bch_fs *c, struct file *filp,
|
||||
err2:
|
||||
if (arg.src_ptr)
|
||||
path_put(&src_path);
|
||||
|
||||
if (retry_estale(error, lookup_flags)) {
|
||||
lookup_flags |= LOOKUP_REVAL;
|
||||
goto retry;
|
||||
}
|
||||
err1:
|
||||
return error;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user