diff options
| author | Alex Elder <[email protected]> | 2012-08-02 11:29:45 -0500 |
|---|---|---|
| committer | Alex Elder <[email protected]> | 2012-10-01 14:30:48 -0500 |
| commit | 103a150f0cc57576b1c4b80bf07af60a14349eee (patch) | |
| tree | 792d889aa95fe748a7c402b5ac7d6af4c397bb80 /include/linux/timerqueue.h | |
| parent | 28cb775de1bd1bcc62c43f767ab81b7b9cfb6678 (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 <[email protected]>
Reviewed-by: Josh Durgin <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions