Orangefs: implement .write_iter
authorMike Marshall <hubcap@omnibond.com>
Wed, 13 Jan 2016 16:18:12 +0000 (11:18 -0500)
committerMike Marshall <hubcap@omnibond.com>
Wed, 13 Jan 2016 16:18:12 +0000 (11:18 -0500)
commitb3ae4755f561cffd23192cd1fb9648649aa7405e
tree115db76621cfed00143b767a122431b2487464db
parent85096169860199f506ae18acd222d1d870f1ee96
Orangefs: implement .write_iter

Until now, orangefs_devreq_write_iter has just been a wrapper for
the old-fashioned orangefs_devreq_writev... linux would call
.write_iter with "struct kiocb *iocb" and "struct iov_iter *iter"
and .write_iter would just:

        return pvfs2_devreq_writev(iocb->ki_filp,
                                   iter->iov,
                                   iter->nr_segs,
                                   &iocb->ki_pos);

Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/devorangefs-req.c