Re: ext2_set_link()->ext2_put_page() question

2021-03-25 Thread Jan Kara
On Mon 22-03-21 17:49:48, Ira Weiny wrote: > Jan, > > Why does ext2_set_link() need to call ext2_put_page()? > > I don't see any reason that we could not match up the ext2_put_page() calls > with the ext2_find_entry(). > > Similarly am I missing something by moving the ext2_put_page() out of > e

ext2_set_link()->ext2_put_page() question

2021-03-22 Thread Ira Weiny
Jan, Why does ext2_set_link() need to call ext2_put_page()? I don't see any reason that we could not match up the ext2_put_page() calls with the ext2_find_entry(). Similarly am I missing something by moving the ext2_put_page() out of ext2_delete_entry()? See below patch. I'm in the process of