diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-07-10 06:27:33 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-09-12 06:59:47 +0300 |
commit | 771eb4fe8b420bb8563863e242861e635c742bc2 (patch) | |
tree | 4c334be7512dae987d72506da8b0c8974bbe85fd /mm | |
parent | 2b69987be575b92adb6c177679f3c559134f0d8f (diff) | |
download | linux-771eb4fe8b420bb8563863e242861e635c742bc2.tar.xz |
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: Kent 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: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions