diff options
| author | Paulo Alcantara <pc@manguebit.org> | 2026-04-10 20:20:55 -0300 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-04-10 20:18:45 -0500 |
| commit | dc0325b0aafe28fa7a00c49aec97095ccae0952b (patch) | |
| tree | 490ad160ead350c1765f654e92bae63ab3478d12 /Documentation/controllers/git@git.tavy.me:linux.git | |
| parent | 62e02084ab93c31c53dd38f149782ce8349a2d90 (diff) | |
smb: client: get rid of d_drop()+d_add()
Replace d_drop()+d_add() in cifs_tmpfile() and cifs_create() with
d_instantiate(), and in cifs_atomic_open() with d_splice_alias() if
in-lookup, otherwise d_instantiate().
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Closes: https://lore.kernel.org/r/20260408065719.GF3836593@ZenIV
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Cc: David Howells <dhowells@redhat.com>
Cc: NeilBrown <neilb@ownmail.net>
Cc: linux-fsdevel@vger.kernel.org
Cc: linux-cifs@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'Documentation/controllers/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
