]> git.karo-electronics.de Git - karo-tx-linux.git/commit
exofs: Remove unused data_map member from exofs_sb_info
authorBoaz Harrosh <bharrosh@panasas.com>
Tue, 9 Aug 2011 23:08:38 +0000 (16:08 -0700)
committerBoaz Harrosh <bharrosh@panasas.com>
Wed, 10 Aug 2011 21:22:24 +0000 (14:22 -0700)
commite70f11e701c5db211f98a785880e8eca5250bbb4
tree025133fd7d51cbff1dd57180a3d2ce83006a56cd
parent322a8b034003c0d46d39af85bf24fee27b902f48
exofs: Remove unused data_map member from exofs_sb_info

The struct pnfs_osd_data_map data_map member of exofs_sb_info was
never used after mount. In fact all it's members were duplicated
by the ore_layout structure. So just remove the duplicated information.

Also removed some stupid, but perfectly supported, restrictions on
layout parameters. The case where num_devices is not divisible by
mirror_count+1 is perfectly fine since the rotating device view
will eventually use all the devices it can get.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/exofs.h
fs/exofs/super.c
include/scsi/osd_ore.h