• Al Viro's avatar
    use less confusing names for iov_iter direction initializers · de4eda9d
    Al Viro authored
    READ/WRITE proved to be actively confusing - the meanings are
    "data destination, as used with read(2)" and "data source, as
    used with write(2)", but people keep interpreting those as
    "we read data from it" and "we write data to it", i.e. exactly
    the wrong way.
    
    Call them ITER_DEST and ITER_SOURCE - at least that is harder
    to misinterpret...
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    de4eda9d
a2mp.c 21.8 KB