summaryrefslogtreecommitdiff
path: root/src/shared/quota-util.c
Commit message (Collapse)AuthorAgeFilesLines
* sd-device: rename devpath_from_devnum() -> devname_from_devnum()Yu Watanabe2022-09-031-1/+1
| | | | | | | | In sd-device, `devpath` is a kind of syspath without '/sys' prefix, e.g. /devices/pci0000:00/0000:00:1c.4/0000:3c:00.0/nvme/nvme0/nvme0n1, and `devname` is a path to the device node, e.g. /dev/nvme0n1. Let's use the consistent name for the helper function.
* tree-wide: use devpath_from_devnum() and device_open_from_devnum()Yu Watanabe2022-08-281-2/+2
| | | | Fixes #24465.
* basic: split out dev_t related calls into new devno-util.[ch]Lennart Poettering2022-04-131-4/+5
| | | | | | | | | | | | | | No actual code changes, just splitting out of some dev_t handling related calls from stat-util.[ch], they are quite a number already, and deserve their own module now I think. Also, try to settle on the name "devnum" as the name for the concept, instead of "devno" or "dev" or "devid". "devnum" is the name exported in udev APIs, hence probably best to stick to that. (this just renames a few symbols to "devum", local variables are left untouched, to make the patch not too invasive) No actual code changes.
* basic,shared: move quota-util.[ch] to src/shared/Zbigniew Jędrzejewski-Szmek2021-06-241-0/+41
No need for this to in basic/.