]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit027b95bff29a6b890f8a924a0e0d8fe93d64bed8
tree035dcae1b60f84b5620ab1a9d42b5d1fad4b4862
parent8d4e54ee6165e8f0229bc3e5056999c6ee406355
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