pnfs: make _set_lo_fail generic
commit1b0ae068779874f54b55aac3a2a992bcf3f2c3c4
authorPeng Tao <bergwolf@gmail.com>
Fri, 23 Sep 2011 01:50:12 +0000 (22 21:50 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 18 Oct 2011 16:08:13 +0000 (18 09:08 -0700)
tree2cfc6f406312ca02704fedb9675a02a5ec2993bf
parent760383f1ee4d14b0e0bdf0cddee648d9b8633429
pnfs: make _set_lo_fail generic

file layout and block layout both use it to set mark layout io failure
bit. So make it generic.

Signed-off-by: Peng Tao <peng_tao@emc.com>
Signed-off-by: Jim Rees <rees@umich.edu>
Cc: stable@kernel.org [3.0]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/blocklayout/blocklayout.c
fs/nfs/nfs4filelayout.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h