From: Andrew Morton Date: Thu, 9 Oct 2014 22:24:52 +0000 (-0700) Subject: fs/ocfs2/stack_user.c: fix typo in ocfs2_control_release() X-Git-Tag: v5.15~17103^2~153 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=98acbf63d63c83e847c5cbe454b36a53cfbbc7a5;p=platform%2Fkernel%2Flinux-starfive.git fs/ocfs2/stack_user.c: fix typo in ocfs2_control_release() It is supposed to zero pv_minor. Reported-by: Himangi Saraogi Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ocfs2/stack_user.c b/fs/ocfs2/stack_user.c index 13a8537..720aa38 100644 --- a/fs/ocfs2/stack_user.c +++ b/fs/ocfs2/stack_user.c @@ -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: