CIFS: Set ->should_dirty in cifs_user_readv()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 5 May 2017 05:30:40 +0000 (08:30 +0300)
committerSteve French <smfrench@gmail.com>
Tue, 20 Jun 2017 22:57:27 +0000 (17:57 -0500)
commit8a7b0d8e8d9962ec3b2ae64dd4e86d68a6fb9220
tree88ec5115c7463d4b91979cf122df75eba20103b5
parent9705596d08ac87c18aee32cc97f2783b7d14624e
CIFS: Set ->should_dirty in cifs_user_readv()

The current code causes a static checker warning because ITER_IOVEC is
zero so the condition is never true.

Fixes: 6685c5e2d1ac ("CIFS: Add asynchronous read support through kernel AIO")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/file.c