diff options
author | Weston Andros Adamson <dros@primarydata.com> | 2014-06-09 11:48:36 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-06-24 18:47:00 -0400 |
commit | c65e6254ca4db1584c5bf5f228ee26556477a9fd (patch) | |
tree | e182886537257fa1b9415bb911103fd9fa840024 /fs/nfs/objlayout/objlayout.c | |
parent | d45f60c67848b9f19160692581d78e5b4757a000 (diff) |
nfs: remove unused writeverf code
Remove duplicate writeverf structure from merge of nfs_pgio_header and
nfs_pgio_data and remove writeverf related flags and logic to handle
more than one RPC per nfs_pgio_header.
Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/objlayout/objlayout.c')
-rw-r--r-- | fs/nfs/objlayout/objlayout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/objlayout/objlayout.c b/fs/nfs/objlayout/objlayout.c index 86312787cee6..697a16d11fac 100644 --- a/fs/nfs/objlayout/objlayout.c +++ b/fs/nfs/objlayout/objlayout.c | |||
@@ -328,7 +328,7 @@ objlayout_write_done(struct objlayout_io_res *oir, ssize_t status, bool sync) | |||
328 | oir->status = hdr->task.tk_status = status; | 328 | oir->status = hdr->task.tk_status = status; |
329 | if (status >= 0) { | 329 | if (status >= 0) { |
330 | hdr->res.count = status; | 330 | hdr->res.count = status; |
331 | hdr->writeverf.committed = oir->committed; | 331 | hdr->verf.committed = oir->committed; |
332 | } else { | 332 | } else { |
333 | hdr->pnfs_error = status; | 333 | hdr->pnfs_error = status; |
334 | } | 334 | } |
@@ -336,7 +336,7 @@ objlayout_write_done(struct objlayout_io_res *oir, ssize_t status, bool sync) | |||
336 | /* must not use oir after this point */ | 336 | /* must not use oir after this point */ |
337 | 337 | ||
338 | dprintk("%s: Return status %zd committed %d sync=%d\n", __func__, | 338 | dprintk("%s: Return status %zd committed %d sync=%d\n", __func__, |
339 | status, hdr->writeverf.committed, sync); | 339 | status, hdr->verf.committed, sync); |
340 | 340 | ||
341 | if (sync) | 341 | if (sync) |
342 | pnfs_ld_write_done(hdr); | 342 | pnfs_ld_write_done(hdr); |