Files
linux/drivers
Al Viro 7f7f25e82d replace checking for ->read/->aio_read presence with check in ->f_mode
Since we are about to introduce new methods (read_iter/write_iter), the
tests in a bunch of places would have to grow inconveniently.  Check
once (at open() time) and store results in ->f_mode as FMODE_CAN_READ
and FMODE_CAN_WRITE resp.  It might end up being a temporary measure -
once everything switches from ->aio_{read,write} to ->{read,write}_iter
it might make sense to return to open-coded checks.  We'll see...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2014-05-06 17:32:55 -04:00
..
2014-05-06 13:05:00 -07:00
2014-04-08 13:27:40 +02:00
2014-04-30 09:48:54 +10:00
2014-04-16 12:28:47 -07:00
2014-04-24 12:53:38 -07:00
2014-04-18 16:40:08 -07:00
2014-05-03 18:14:28 -04:00
2014-04-16 14:07:51 -07:00