diff options
author | Alex Elder <elder@inktank.com> | 2012-08-30 19:42:15 (GMT) |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-10-01 19:30:51 (GMT) |
commit | c9aadfe7860f83ee17e55fe17398f3fe948a0a84 (patch) | |
tree | 37bf444e7bb006a7643050c6b33000797a76bae0 /fs/anon_inodes.c | |
parent | 98cec111c08d8d52168e28648b4a1c2f5011cd70 (diff) | |
download | linux-c9aadfe7860f83ee17e55fe17398f3fe948a0a84.tar.xz |
rbd: kill rbd_image_header->total_snaps
The "total_snaps" field in an rbd header structure is never any
different from the value of "num_snaps" stored within a snapshot
context. Avoid any confusion by just using the value held within
the snapshot context, and get rid of the "total_snaps" field.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions