]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: return an error when an invalid header is read
authorJosh Durgin <josh.durgin@dreamhost.com>
Tue, 15 Nov 2011 22:49:53 +0000 (14:49 -0800)
committerSage Weil <sage@newdream.net>
Wed, 7 Dec 2011 18:46:10 +0000 (10:46 -0800)
commit2afd7fc426d5df58d0ed5ee17eb168f5b2f1bf45
tree076296ce4a9c12c400e0a0de39d80844ced3aa14
parent19af1f88220cd8c9f02687932208f0a2a8beaa74
rbd: return an error when an invalid header is read

This protects against opening future rbd images that have incompatible format changes.

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
drivers/block/rbd.c