diff options
author | Alex Elder <elder@inktank.com> | 2012-08-02 11:29:45 -0500 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-10-01 14:30:48 -0500 |
commit | 103a150f0cc57576b1c4b80bf07af60a14349eee (patch) | |
tree | 792d889aa95fe748a7c402b5ac7d6af4c397bb80 /fs/ceph | |
parent | 28cb775de1bd1bcc62c43f767ab81b7b9cfb6678 (diff) | |
download | op-kernel-dev-103a150f0cc57576b1c4b80bf07af60a14349eee.zip op-kernel-dev-103a150f0cc57576b1c4b80bf07af60a14349eee.tar.gz |
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 'fs/ceph')
0 files changed, 0 insertions, 0 deletions