summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/stack_user.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2014-10-09 15:24:52 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-09 22:25:46 -0400
commit98acbf63d63c83e847c5cbe454b36a53cfbbc7a5 (patch)
treefd6da7bde319d9787f812915338f376a4ad7d1dc /fs/ocfs2/stack_user.c
parente2cabe1d426fb10cd8e04c26a49e70f1c864d25c (diff)
downloadlinux-98acbf63d63c83e847c5cbe454b36a53cfbbc7a5.tar.gz
linux-98acbf63d63c83e847c5cbe454b36a53cfbbc7a5.tar.bz2
linux-98acbf63d63c83e847c5cbe454b36a53cfbbc7a5.zip
fs/ocfs2/stack_user.c: fix typo in ocfs2_control_release()
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>
Diffstat (limited to 'fs/ocfs2/stack_user.c')
-rw-r--r--fs/ocfs2/stack_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/stack_user.c b/fs/ocfs2/stack_user.c
index 13a8537d8e8b..720aa389e0ea 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: