Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 771eb4fe authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet
Browse files

fs: factor out d_mark_tmpfile()


New helper for bcachefs - bcachefs doesn't want the
inode_dec_link_count() call that d_tmpfile does, it handles i_nlink on
its own atomically with other btree updates

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: linux-fsdevel@vger.kernel.org
Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
Reviewed-by: default avatarChristian Brauner <brauner@kernel.org>
parent 2b69987b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment