jbd2_write_access_granted
if (jbd2_write_access_granted(handle, bh, false))
if (jbd2_write_access_granted(handle, bh, true))