diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-12-03 11:21:24 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-12-03 11:23:25 +0100 |
commit | 3207dc4608dd1afa46fcdcc0b9eb7c3a3fe22882 (patch) | |
tree | b4bb2c99632b86bbe901113ee4c9062a2d5e2f0b /arch | |
parent | a912f55a6c6a9486712248ebefb053d98501a153 (diff) | |
download | barebox-3207dc4608dd1afa46fcdcc0b9eb7c3a3fe22882.tar.gz barebox-3207dc4608dd1afa46fcdcc0b9eb7c3a3fe22882.tar.xz |
ls command: call stat() only when necessary
When calling ls in short mode we do not have to call stat()
for additional informations because we do not use them. This
speeds up ls on filesystems on which stat() is expensive
because the barebox filesystem support always has to iterate
over the directory tree.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions