]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/nilfs2_fs.h
nilfs2: introduce secondary super block
[linux-2.6-omap-h63xx.git] / include / linux / nilfs2_fs.h
index cbce6647f7fd0f2b4cde0e3ee2fa32aa58d51683..1275b3099535896c1ee3cba6e92726fe440a7a8e 100644 (file)
@@ -252,6 +252,10 @@ struct nilfs_super_block {
 #define NILFS_MIN_NRSVSEGS     8       /* Minimum number of reserved
                                           segments */
 
+/*
+ * bytes offset of secondary super block
+ */
+#define NILFS_SB2_OFFSET_BYTES(devsize)        ((((devsize) >> 12) - 1) << 12)
 
 /*
  * Maximal count of links to a file