ocfs2: no need get dinode bh when zeroing extend
authorJoseph Qi <joseph.qi@huawei.com>
Tue, 14 Apr 2015 22:43:08 +0000 (15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Apr 2015 23:48:57 +0000 (16:48 -0700)
commit7e9b19551c8249baf380cbd274633ee4af95bc99
treef6db9b069eb265aabab06c16f40dd436b0ff82c1
parentbdd86215b393b743be34b854299c6cda7cbb361c
ocfs2: no need get dinode bh when zeroing extend

Since di_bh won't be used when zeroing extend, set it to NULL.

Signed-off-by: Joseph Qi <joseph.qi@huawei.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/aops.c