[PATCH 6.1 4/8] fs: factor out a direct_write_fallback helper