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

Reported-by: Himangi Saraogi <himangi774@gmail.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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: