ocfs2-remove-an-unnecessary-condition.patch removed from -mm tree
The patch titled
Subject: ocfs2: remove an unnecessary condition
has been removed from the -mm tree. Its filename was
ocfs2-remove-an-unnecessary-condition.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Dan Carpenter <[email protected]>
Subject: ocfs2: remove an unnecessary condition
The case where "tmp_oh" is NULL is handled at the start of the function. At this point we know it's non-NULL so this will always return 1.
Signed-off-by Dan Carpenter <[email protected]>
Reviewed-by Joseph Qi <[email protected]>
Cc Mark Fasheh <[email protected]>
Cc Joel Becker <[email protected]>
Cc Junxiao Bi <[email protected]>
Cc Changwei Ge <[email protected]>
Cc Gang He <[email protected]>
Cc Jun Piao <[email protected]>
Cc Larry Chen <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/ocfs2/dlmglue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/dlmglue.c renamed from fs/ocfs2/dlmglue.c~ocfs2-remove-an-unnecessary-condition +1 -1
@@ -2721,7 +2721,7 @@ int ocfs2_inode_lock_tracker(struct inodreturn status; } } -return tmp_oh ?1 :0 ; +return 1 ; } void ocfs2_inode_unlock_tracker(struct inode *inode,
_
Patches currently in -mm which might be from [email protected] are