]> 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)
commit41033ff3da188c4d8006e40e095694dbf5bdefaa
tree076296ce4a9c12c400e0a0de39d80844ced3aa14
parent72b325b81386d0a3969b67e7cc69096091d317b8
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