• Andrew Morton's avatar
    [PATCH] Fix readdir error return value · 2eb4051e
    Andrew Morton authored
    From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
    
    There are a couple of places in the readdir code where it forgets to set
    the returned error code to -EFAULT, leaving it at the default -EINVAL.
    
    Fix that up, and rename getdents_callback64.count to "result", which makes
    more sense.
    2eb4051e
readdir.c 6.4 KB