Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'zonefs-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs

Pull zonefs update from Damien Le Moal:

- Use ZONEFS_SUPER_SIZE instead of PAGE_SIZE to read from disk the
super block (Johannes).

* tag 'zonefs-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs:
zonefs: use ZONEFS_SUPER_SIZE instead of PAGE_SIZE

+3 -2
+3 -2
fs/zonefs/super.c
··· 1113 1113 u32 crc, stored_crc; 1114 1114 int ret; 1115 1115 1116 - super = kmalloc(PAGE_SIZE, GFP_KERNEL); 1116 + super = kmalloc(ZONEFS_SUPER_SIZE, GFP_KERNEL); 1117 1117 if (!super) 1118 1118 return -ENOMEM; 1119 1119 1120 - ret = bdev_rw_virt(sb->s_bdev, 0, super, PAGE_SIZE, REQ_OP_READ); 1120 + ret = bdev_rw_virt(sb->s_bdev, 0, super, ZONEFS_SUPER_SIZE, 1121 + REQ_OP_READ); 1121 1122 if (ret) 1122 1123 goto free_super; 1123 1124