pnfs: make _set_lo_fail generic
authorPeng Tao <bergwolf@gmail.com>
Fri, 23 Sep 2011 01:50:12 +0000 (21:50 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:42:57 +0000 (09:42 -0800)
commitbef05def5076587c99095a7c7fd3637b0c9ec178
treef1ff74fed80aa1e34f1ae28e799c7a8c5768c8e4
parentf135656f64649c09545808f8846c33700f34f476
pnfs: make _set_lo_fail generic

commit 1b0ae068779874f54b55aac3a2a992bcf3f2c3c4 upstream.

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>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfs/blocklayout/blocklayout.c
fs/nfs/nfs4filelayout.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h