NFS41: make PNFS_BLOCK selectable
authorPeng Tao <bergwolf@gmail.com>
Wed, 10 Aug 2011 22:29:21 +0000 (18:29 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Aug 2011 15:58:02 +0000 (08:58 -0700)
commit54a33b190aa5386dd214b4ad02986445e20e83d1
tree47f4b28e45bcc2e8c60cc758b8e92f80f446c505
parent068ef739127af1faf6f342b56d41ceea89f76c75
NFS41: make PNFS_BLOCK selectable

PNFS_BLOCK needs BLK_DEV_DM/MD, which is not a dependency for other
pnfs layout drivers. Seperate it out so others can still build when
BLK_DEV_DM/MD is not enabled.

Also change select to depends on to avoid build failures.

Reported-and-tested-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Peng Tao <peng_tao@emc.com>
Acked-by: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfs/Kconfig