]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/block/zram/zram_drv.h
Merge tag 'module-implicit-v4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / drivers / block / zram / zram_drv.h
index 042994e807cf7cf89b10547ac5287c1970b8c71e..6dbe2df506bf0bda2a3b02ca63f3bc8a0831e088 100644 (file)
@@ -115,5 +115,9 @@ struct zram {
         */
        u64 disksize;   /* bytes */
        char compressor[10];
+       /*
+        * zram is claimed so open request will be failed
+        */
+       bool claim; /* Protected by bdev->bd_mutex */
 };
 #endif