Revision 8e3c500594dca9a12c27eb6d77b82e0766879bfd authored by Johannes Berg on 22 April 2015, 09:55:14 UTC, committed by Al Viro on 24 April 2015, 19:45:03 UTC
Al Viro's IOV changes broke 9p readdir() because the new code didn't abort the read when it returned nothing. The original code checked if the combined error/length was <= 0 but in the new code that accidentally got changed to just an error check. Add back the return from the function when nothing is read. Cc: Al Viro <viro@zeniv.linux.org.uk> Fixes: e1200fe68f20 ("9p: switch p9_client_read() to passing struct iov_iter *") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent bb66873
File | Mode | Size |
---|---|---|
Atmel | ||
Marvell | ||
OMAP | ||
SA1100 | ||
SH-Mobile | ||
SPEAr | ||
Samsung | ||
Samsung-S3C24XX | ||
VFP | ||
msm | ||
nwfpe | ||
pxa | ||
sti | ||
sunxi | ||
00-INDEX | -rw-r--r-- | 1.5 KB |
Booting | -rw-r--r-- | 7.6 KB |
CCN.txt | -rw-r--r-- | 2.1 KB |
IXP4xx | -rw-r--r-- | 6.3 KB |
Interrupts | -rw-r--r-- | 6.6 KB |
Makefile | -rw-r--r-- | 22 bytes |
Netwinder | -rw-r--r-- | 1.5 KB |
Porting | -rw-r--r-- | 4.4 KB |
README | -rw-r--r-- | 7.1 KB |
Setup | -rw-r--r-- | 3.5 KB |
cluster-pm-race-avoidance.txt | -rw-r--r-- | 16.2 KB |
firmware.txt | -rw-r--r-- | 2.2 KB |
kernel_mode_neon.txt | -rw-r--r-- | 5.6 KB |
kernel_user_helpers.txt | -rw-r--r-- | 6.6 KB |
mem_alignment | -rw-r--r-- | 2.4 KB |
memory.txt | -rw-r--r-- | 3.1 KB |
swp_emulation | -rw-r--r-- | 1.2 KB |
tcm.txt | -rw-r--r-- | 5.0 KB |
uefi.txt | -rw-r--r-- | 3.2 KB |
vlocks.txt | -rw-r--r-- | 6.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...