file->f_op is never NULL...

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2013-09-22 16:27:52 -04:00
commit 72c2d53192
29 changed files with 74 additions and 97 deletions

View file

@ -244,10 +244,10 @@ p9_fd_poll(struct p9_client *client, struct poll_table_struct *pt)
if (!ts)
return -EREMOTEIO;
if (!ts->rd->f_op || !ts->rd->f_op->poll)
if (!ts->rd->f_op->poll)
return -EIO;
if (!ts->wr->f_op || !ts->wr->f_op->poll)
if (!ts->wr->f_op->poll)
return -EIO;
ret = ts->rd->f_op->poll(ts->rd, pt);