Karel Zak
59d749c331
loopdev: support LO_FLAGS_PARTSCAN flag (kernel 3.2)
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-09 23:28:43 +01:00
Karel Zak
c7e0925def
losetup: rewrite loop setup
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-12-22 12:19:38 +01:00
Karel Zak
6c224de18b
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>
2011-12-22 12:19:38 +01:00
Karel Zak
0b14bf7af1
lib,loopdev: add LOOP_CTL_GET_FREE support
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-07 16:45:11 +01:00
Karel Zak
d568813071
umount: use new lib/loopdev.c code
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-09-30 11:09:38 +02:00
Karel Zak
8fbbe528a7
mount: use new lib/loopdev.c code
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-09-30 01:28:02 +02:00
Karel Zak
aee31ddc59
lib,loopdev: add debugu messages
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-09-29 23:28:36 +02:00
Francesco Cosoleto
82b4082e80
lib,loopdev: fix use of logical '&&' with constant operand
...
Found by clang.
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2011-09-27 15:04:18 +02:00
Karel Zak
fc8b1f36fe
libmount: potential null derefence [smatch scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-09-12 15:35:33 +02:00
Karel Zak
33487796e7
lib: [loopdev.c] correct qsort compare function
...
Reported-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-23 12:01:12 +02:00
Davidlohr Bueso
ad2d0d8587
lib: [loopdev.c] correct trivial typo
...
Should say "failed to find" instead of "failed to found".
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-08-08 13:53:59 +02:00
Karel Zak
ce75b60528
build-sys: fix 'make checkincludes' warnings
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-07-28 13:21:00 +02:00
Karel Zak
fd7f0718d4
lib: [loopdev.c] cleanup flags usage
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-10 15:38:13 +02:00
Karel Zak
10ee593293
lib: [loopdev.c] add module for work loop devices
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-05-30 16:37:46 +02:00