aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nilfs2_fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nilfs2_fs.h')
-rw-r--r--include/linux/nilfs2_fs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nilfs2_fs.h b/include/linux/nilfs2_fs.h
index cbce6647f7fd..1275b3099535 100644
--- a/include/linux/nilfs2_fs.h
+++ b/include/linux/nilfs2_fs.h
@@ -252,6 +252,10 @@ struct nilfs_super_block {
252#define NILFS_MIN_NRSVSEGS 8 /* Minimum number of reserved 252#define NILFS_MIN_NRSVSEGS 8 /* Minimum number of reserved
253 segments */ 253 segments */
254 254
255/*
256 * bytes offset of secondary super block
257 */
258#define NILFS_SB2_OFFSET_BYTES(devsize) ((((devsize) >> 12) - 1) << 12)
255 259
256/* 260/*
257 * Maximal count of links to a file 261 * Maximal count of links to a file