Re: [PATCH] ocfs2: Remove redundant conditional before iput

2020-12-30 Thread Joseph Qi
On 12/31/20 12:05 PM, Yi Li wrote: > iput handles NULL pointers gracefully, so there's no need to > check the pointer before the call. > > Signed-off-by: Yi Li Acked-by: Joseph Qi > --- > fs/ocfs2/super.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/fs/ocfs2/super.c b/fs/ocfs2

[PATCH] ocfs2: Remove redundant conditional before iput

2020-12-30 Thread Yi Li
iput handles NULL pointers gracefully, so there's no need to check the pointer before the call. Signed-off-by: Yi Li --- fs/ocfs2/super.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 2febc76e9de7..079f8826993e 100644 --- a/fs/ocfs2/super.c +++ b/