/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Official Linux v6.18: include/linux/fs.h
 * Complete function; source lines 625-628.
 * Body unchanged. Kernel dependencies and configuration are required.
 * Source URL, SHA, commit, and license: provenance.json; GPL-2.0.txt.
 */

static inline void mapping_allow_writable(struct address_space *mapping)
{
	atomic_inc(&mapping->i_mmap_writable);
}

