Merge pull request #25726 from dtardon/cleanups

Several small cleanups
This commit is contained in:
Yu Watanabe
2022-12-14 20:17:56 +09:00
committed by GitHub
9 changed files with 44 additions and 72 deletions
+1 -4
View File
@@ -511,10 +511,7 @@ int btrfs_subvol_get_info_fd(int fd, uint64_t subvol_id, BtrfsSubvolInfo *ret) {
}
finish:
if (!found)
return -ENODATA;
return 0;
return found ? 0 : -ENODATA;
}
int btrfs_qgroup_get_quota_fd(int fd, uint64_t qgroupid, BtrfsQuotaInfo *ret) {