aboutsummaryrefslogtreecommitdiff
path: root/drivers/lguest
diff options
context:
space:
mode:
authorAlex Elder2012-08-02 11:29:45 -0500
committerAlex Elder2012-10-01 14:30:48 -0500
commit103a150f0cc57576b1c4b80bf07af60a14349eee (patch)
tree792d889aa95fe748a7c402b5ac7d6af4c397bb80 /drivers/lguest
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/lguest')
0 files changed, 0 insertions, 0 deletions