]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: Remove bogus assignment
authorJan Kara <jack@suse.cz>
Tue, 21 Oct 2014 11:32:10 +0000 (13:32 +0200)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 12 Nov 2014 19:22:53 +0000 (14:22 -0500)
commitcc6993e9bbf5c06389eb7f56e8dc3583d11a74b6
treef41ff804b7d77779307bee931edb063eb5ee73fe
parent7d70ac607293d3579ff96891b921cb4566adf350
nfs: Remove bogus assignment

Commit 826886c0e22f (pnfs/blocklayout: remove read-modify-write handling
in bl_write_pagelist) introduced a bogus assignment pg_index = pg_index
in variable initialization. AFAICS it's just a typo so remove it.
Spotted by Coverity (id 1248711).

CC: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/blocklayout/blocklayout.c