aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/swim3.c
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-08-02 12:29:45 -0400
committerAlex Elder <elder@inktank.com>2012-10-01 15:30:48 -0400
commit103a150f0cc57576b1c4b80bf07af60a14349eee (patch)
tree792d889aa95fe748a7c402b5ac7d6af4c397bb80 /drivers/block/swim3.c
parent28cb775de1bd1bcc62c43f767ab81b7b9cfb6678 (diff)
rbd: expand rbd_dev_ondisk_valid() checks
Add checks on the validity of the snap_count and snap_names_len field values in rbd_dev_ondisk_valid(). This eliminates the need to do them in rbd_header_from_disk(). Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/block/swim3.c')
0 files changed, 0 insertions, 0 deletions