ext4: remove unnecessary test_opt for DIOREAD_NOLOCK
authorKaixu Xia <kaixuxia@tencent.com>
Mon, 13 Apr 2020 04:24:22 +0000 (12:24 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 7 May 2020 15:00:47 +0000 (11:00 -0400)
commit781c036b678c9ae978efb5f89311d0b5e6748b10
tree03334ca8c8486b4f96c94fb1df2663f1a535eb91
parent0e698dfa282211e414076f9dc7e83c1c288314fd
ext4: remove unnecessary test_opt for DIOREAD_NOLOCK

The DIOREAD_NOLOCK flag has been cleared when doing the test_opt
that is meaningless, so remove the unnecessary test_opt for DIOREAD_NOLOCK.

Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Link: https://lore.kernel.org/r/1586751862-19437-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c