fs/ocfs2/stack_user.c: fix typo in ocfs2_control_release()
authorAndrew Morton <[email protected]>
Thu, 9 Oct 2014 22:24:52 +0000 (15:24 -0700)
committerLinus Torvalds <[email protected]>
Fri, 10 Oct 2014 02:25:46 +0000 (22:25 -0400)
It is supposed to zero pv_minor.

Reported-by: Himangi Saraogi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ocfs2/stack_user.c

index 13a8537d8e8b0b5732fa730dcff2870255a26e07..720aa389e0eae60c2b0d01a7038b73c268932d5a 100644 (file)
@@ -591,7 +591,7 @@ static int ocfs2_control_release(struct inode *inode, struct file *file)
                 */
                ocfs2_control_this_node = -1;
                running_proto.pv_major = 0;
-               running_proto.pv_major = 0;
+               running_proto.pv_minor = 0;
        }
 
 out: