]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/f2fs_fs.h
Merge tag 'xtensa-20170303' of git://github.com/jcmvbkbc/linux-xtensa
[mirror_ubuntu-artful-kernel.git] / include / linux / f2fs_fs.h
index 1c92ace2e8f8e3ab16f28813fe8beb1734972e53..e2d239ed4c60cb05fbf6072e1a3a3ea4e34594f3 100644 (file)
@@ -279,6 +279,7 @@ struct f2fs_node {
  * For NAT entries
  */
 #define NAT_ENTRY_PER_BLOCK (PAGE_SIZE / sizeof(struct f2fs_nat_entry))
+#define NAT_ENTRY_BITMAP_SIZE  ((NAT_ENTRY_PER_BLOCK + 7) / 8)
 
 struct f2fs_nat_entry {
        __u8 version;           /* latest version of cached nat entry */