summaryrefslogtreecommitdiff
path: root/fs/ocfs2/journal.c
diff options
context:
space:
mode:
authorEric Ren <zren@suse.com>2016-07-26 15:21:29 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-07-26 16:19:19 -0700
commit191df2b51303d62f95ccd8552e09dcd78eaa1a05 (patch)
tree8d33ca1b236baf6a635b32cb9956783e07977509 /fs/ocfs2/journal.c
parent17359a80b9315670f56cd016a92c083665e80ae1 (diff)
downloadlinux-next-191df2b51303d62f95ccd8552e09dcd78eaa1a05.tar.gz
ocfs2: fix a redundant re-initialization
Obviously, memset() has zeroed the whole struct locking_max_version. So, it's no need to zero its two fields individually. Link: http://lkml.kernel.org/r/1463970605-18354-1-git-send-email-zren@suse.com Signed-off-by: Eric Ren <zren@suse.com> Reviewed-by: Joseph Qi <joseph.qi@huawei.com> Reviewed-by: Gang He <ghe@suse.com> Cc: Mark Fasheh <mfasheh@suse.de> Cc: Joel Becker <jlbec@evilplan.org> Cc: Junxiao Bi <junxiao.bi@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/journal.c')
0 files changed, 0 insertions, 0 deletions