]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6397d6aae84364e76c1a4c759fdb2367019ab05d
tree88ec5115c7463d4b91979cf122df75eba20103b5
parenteee70825f238f32438f725b2301cdb472e3435f8
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: 0f628c6f5d13 ("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