OSDN Git Service

udf: Drop pointless check from udf_sync_fs()
authorJan Kara <jack@suse.cz>
Tue, 19 Feb 2019 13:59:43 +0000 (14:59 +0100)
committerJan Kara <jack@suse.cz>
Thu, 21 Feb 2019 18:25:36 +0000 (19:25 +0100)
commit52b9666efd8b0874d334de718a7d561e7b0eb1cc
treea583ede10c8506825c2a8a6d7bccc1e6d66b441a
parent93bc420ed41df63a18ae794101f7cbf45226a6ef
udf: Drop pointless check from udf_sync_fs()

The check if (bh) in udf_sync_fs() is pointless as we cannot have
sbi->s_lvid_dirty and !sbi->s_lvid_bh (as already asserted by
udf_updated_lvid()). So just drop the pointless check.

Reviewed-by: Steven J. Magnani <steve@digidescorp.com>
Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c