]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib,loopdev: add missing functions
authorKarel Zak <kzak@redhat.com>
Tue, 20 Dec 2011 17:25:04 +0000 (18:25 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 22 Dec 2011 11:19:38 +0000 (12:19 +0100)
commit6c224de18bfa7c652e07685d0450e0984b27ee86
tree34b6eec715e6c26d797f01cab94ced1e08bf5dd6
parent7eac65fcf630271c18d32a6f0dfa9089a20c66b0
lib,loopdev: add missing functions

 - improve loop_info usage (don't call ioctl more than once)
 - add functions to get devno and inode of the backing file
 - add function for compare any file with backing file by devno + inode
   or by filename

Signed-off-by: Karel Zak <kzak@redhat.com>
include/loopdev.h
lib/loopdev.c