diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-03-23 14:40:55 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2012-03-23 14:40:55 -0400 |
commit | fe5f5d2e908957392aebbb852a6fb22885860d4b (patch) | |
tree | ac9b490eebb50463a14cda8b8bfc654aef78265d /fs/cifs/file.c | |
parent | da472fc847e9d8c9da69b09ce0ab975b24f9b894 (diff) | |
download | lwn-fe5f5d2e908957392aebbb852a6fb22885860d4b.tar.gz lwn-fe5f5d2e908957392aebbb852a6fb22885860d4b.zip |
cifs: add pid field to cifs_writedata
We'll need this to handle rwpidforward option correctly when we use
async writes in the aio_write op.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r-- | fs/cifs/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 159fcc56dc2d..5fedf6cb5a56 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c @@ -1802,6 +1802,7 @@ retry: rc = -EBADF; break; } + wdata->pid = wdata->cfile->pid; rc = cifs_async_writev(wdata); } while (wbc->sync_mode == WB_SYNC_ALL && rc == -EAGAIN); |