]> git.ipfire.org Git - thirdparty/samba.git/commit
lib: Streamline finding a file's block device for quota code
authorVolker Lendecke <vl@samba.org>
Mon, 26 Jan 2026 13:01:05 +0000 (14:01 +0100)
committerAnoop C S <anoopcs@samba.org>
Sun, 15 Feb 2026 10:42:34 +0000 (10:42 +0000)
commitfb3dc422d348afb5473c675676aec5211fa30fb1
tree5e509f559704f5fe6bf1b272fdbe97eeee88aeeb
parent96186f961721e94e588e9887cff8e90eefac742c
lib: Streamline finding a file's block device for quota code

Use /proc/self/mountinfo to find the block device a file is mounted on for
quotactl purposes.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/include/proto.h
source3/lib/sysquotas.c
source3/modules/vfs_default.c