summaryrefslogtreecommitdiff
path: root/libbcachefs/fs-ioctl.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-10-28 16:27:01 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2021-10-28 16:27:01 -0400
commit6f8750c30eabbd5ccd87e10fc5f0d94278ed95c8 (patch)
treec74b95c0e107ac5b6a291b2c86f944c600a32be6 /libbcachefs/fs-ioctl.c
parent72a9f1015d65bc04a6099f1869fd691ccf3ca878 (diff)
Update bcachefs sources to b1899a0bd9 bcachefs: Move bch2_evict_subvolume_inodes() to fs.c
Diffstat (limited to 'libbcachefs/fs-ioctl.c')
-rw-r--r--libbcachefs/fs-ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/fs-ioctl.c b/libbcachefs/fs-ioctl.c
index 513f7a7a..9f329a62 100644
--- a/libbcachefs/fs-ioctl.c
+++ b/libbcachefs/fs-ioctl.c
@@ -441,7 +441,7 @@ static long bch2_ioctl_subvolume_destroy(struct bch_fs *c, struct file *filp,
dir = path.dentry->d_parent->d_inode;
- ret = __bch2_unlink(dir, path.dentry, 1);
+ ret = __bch2_unlink(dir, path.dentry, true);
if (!ret) {
fsnotify_rmdir(dir, path.dentry);
d_delete(path.dentry);