summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2009-09-25 14:40:23 +0200
committerKarel Zak <kzak@redhat.com>2009-09-25 14:57:17 +0200
commitf38fd19d2b0367f5f4517ba30a8964802c7ce1ab (patch)
treea0c3e7083307ef5ef708d6e1f234e4691058ca4b /TODO
parent0d17b1cf91f5c1a41660e8f240f9ff11259fcf1a (diff)
downloadutil-linux-old-f38fd19d2b0367f5f4517ba30a8964802c7ce1ab.tar.gz
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 44fb2f85..bf2c5f9a 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)