Re: [PATCH] zonefs: fix to update .i_wr_refcnt correctly in zonefs_open_zone()

2021-03-16 Thread Chao Yu
On 2021/3/17 7:30, Damien Le Moal wrote: On 2021/03/16 21:30, Chao Yu wrote: In zonefs_open_zone(), if opened zone count is larger than .s_max_open_zones threshold, we missed to recover .i_wr_refcnt, fix this. Fixes: b5c00e975779 ("zonefs: open/close zone on file open/close") Signed-off-by:

Re: [PATCH] zonefs: fix to update .i_wr_refcnt correctly in zonefs_open_zone()

2021-03-16 Thread Damien Le Moal
On 2021/03/16 21:30, Chao Yu wrote: > In zonefs_open_zone(), if opened zone count is larger than > .s_max_open_zones threshold, we missed to recover .i_wr_refcnt, > fix this. > > Fixes: b5c00e975779 ("zonefs: open/close zone on file open/close") > Signed-off-by: Chao Yu > --- >

[PATCH] zonefs: fix to update .i_wr_refcnt correctly in zonefs_open_zone()

2021-03-16 Thread Chao Yu
In zonefs_open_zone(), if opened zone count is larger than .s_max_open_zones threshold, we missed to recover .i_wr_refcnt, fix this. Fixes: b5c00e975779 ("zonefs: open/close zone on file open/close") Signed-off-by: Chao Yu --- fs/zonefs/super.c | 6 +++--- 1 file changed, 3 insertions(+), 3