summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorKarel Zak2009-09-25 14:40:23 +0200
committerKarel Zak2009-09-25 14:57:17 +0200
commitf38fd19d2b0367f5f4517ba30a8964802c7ce1ab (patch)
treea0c3e7083307ef5ef708d6e1f234e4691058ca4b /TODO
parentlibblkid: cleanup blkid_probe_set_device() (diff)
downloadkernel-qcow2-util-linux-f38fd19d2b0367f5f4517ba30a8964802c7ce1ab.tar.gz
kernel-qcow2-util-linux-f38fd19d2b0367f5f4517ba30a8964802c7ce1ab.tar.xz
kernel-qcow2-util-linux-f38fd19d2b0367f5f4517ba30a8964802c7ce1ab.zip
libblkid: use fstatat(), improve readdir() usage
* fix possible memory leak in ubi_probe_all() * use dirent->d_type if available (this is tricky, because d_type is not supported on all systems and some filesystems returns DT_UNKNOWN). The dirent->d_type allows to avoid unnecessary stat() calls. * use fstatat() if available -- allows to avoid malloc() and sprintf("%s/%s", dirname, dirent->d_name) Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'TODO')
-rw-r--r--TODO2
1 files changed, 0 insertions, 2 deletions
diff --git a/TODO b/TODO
index 44fb2f85a..bf2c5f9af 100644
--- a/TODO
+++ b/TODO
@@ -26,8 +26,6 @@ libblkid
[ -- Christoph Hellwig, 16 Feb 2009 ]
(1) http://git.kernel.org/?p=fs/xfs/xfsprogs-dev.git;a=tree;f=libdisk;
- - use fstatat() in blkid__scan_dir()
-
- add values:
FSSIZE -- filesystem size (klibc requirement)