Btrfs: introduce common define for max number of mirrors
authorStefan Behrens <sbehrens@giantdisaster.de>
Tue, 27 Mar 2012 18:21:26 +0000 (14:21 -0400)
committerChris Mason <chris.mason@oracle.com>
Tue, 27 Mar 2012 18:21:26 +0000 (14:21 -0400)
commit94598ba8d8ff066115508fb99e593d2de1ca67e1
tree035dcae1b60f84b5620ab1a9d42b5d1fad4b4862
parentea466794084f55d8fcc100711cf17923bf57e962
Btrfs: introduce common define for max number of mirrors

Readahead already has a define for the max number of mirrors. Scrub
needs such a define now, the rest of the code will need something
like this soon. Therefore the define was added to ctree.h and removed
from the readahead code.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/reada.c