search for: 6ee9457

Displaying 1 result from an estimated 1 matches for "6ee9457".

Did you mean: 679457
2009 Mar 31
0
[PATCH] ocfs2: remove some pointless conditionals before kfree()
...c_copy); + kfree(alloc_copy); mlog_exit_void(); } @@ -1284,8 +1282,7 @@ bail: if (main_bm_inode) iput(main_bm_inode); - if (alloc_copy) - kfree(alloc_copy); + kfree(alloc_copy); if (ac) ocfs2_free_alloc_context(ac); diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 7ac83a8..6ee9457 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c @@ -2134,8 +2134,7 @@ static int ocfs2_check_volume(struct ocfs2_super *osb) mlog_errno(status); finally: - if (local_alloc) - kfree(local_alloc); + kfree(local_alloc); mlog_exit(status); return status; @@ -2163,8 +2162,7 @@ static v...