f2fs: fix wrong data structure when create slab
Subsystems (2)
PATCH 1/1 f2fs: fix wrong data structure when create slab
It used nat_entry_set when create slab for sit_entry_set.
--- fs/f2fs/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/f2fs/segment.c +1 -1
@@ -2231,7 +2231,7 @@ int __init create_segment_manager_caches(void) goto fail; sit_entry_set_slab =f2fs_kmem_cache_create ("sit_entry_set" , -sizeof (struct nat_entry_set )); +sizeof (struct sit_entry_set ));if (!sit_entry_set_slab) goto destory_discard_entry;
Signature · 1 line
1.9.1
Hi, Changman
Quoted 7 lines
-----Original Message-----
From: Changman Lee [mailto:[email protected]]
Sent: Friday, November 21, 2014 2:42 PM
To: [email protected]; [email protected]
Subject: [f2fs-dev] [PATCH] f2fs: fix wrong data structure when create slabIt used
nat_entry_setwhen create slab forsit_entry_set.
Oh, sorry, that's my mistake, thank you for fixing this!
Regards,
Yu
Quoted 33 lines
Signed-off-by Changman Lee <[email protected]>--- fs/f2fs/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/f2fs/segment.c +1
-2@@ -2231,7 +2231,7 @@ int __init create_segment_manager_caches(void) goto fail; sit_entry_set_slab =f2fs_kmem_cache_create ("sit_entry_set" , -sizeof (struct nat_entry_set )); +sizeof (struct sit_entry_set ));if (!sit_entry_set_slab) goto destory_discard_entry; --1.9.1
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Linux-f2fs-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel