public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Endless getdents() in vfat filesystem
@ 2015-11-14  1:19 Vegard Nossum
  2015-11-14 10:32 ` Richard Weinberger
  0 siblings, 1 reply; 9+ messages in thread
From: Vegard Nossum @ 2015-11-14  1:19 UTC (permalink / raw)
  To: OGAWA Hirofumi; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

Hi,

Using the attached disk image I observe that getdents() never returns
the end of the directory, i.e. mounting the disk image on a loopback
device and running 'ls' under strace shows an endless stream of:

getdents(3, /* 2 entries */, 32768)     = 48
getdents(3, /* 2 entries */, 32768)     = 48
getdents(3, /* 2 entries */, 32768)     = 48
...


Vegard


[-- Attachment #2: vfat.img.bz2 --]
[-- Type: application/x-bzip, Size: 307 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-11-15 12:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-14  1:19 Endless getdents() in vfat filesystem Vegard Nossum
2015-11-14 10:32 ` Richard Weinberger
2015-11-14 12:42   ` Vegard Nossum
2015-11-14 14:28     ` OGAWA Hirofumi
2015-11-14 15:06       ` Richard Weinberger
2015-11-14 18:19         ` OGAWA Hirofumi
2015-11-15 11:05           ` Vegard Nossum
2015-11-15 11:24             ` Richard Weinberger
2015-11-15 12:59               ` OGAWA Hirofumi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox