netfs: Remove some extraneous directory invalidations
authorDavid Howells <dhowells@redhat.com>
Mon, 16 Dec 2024 20:41:04 +0000 (20:41 +0000)
committerChristian Brauner <brauner@kernel.org>
Fri, 20 Dec 2024 21:34:05 +0000 (22:34 +0100)
commit30f878fa0fac932ea811303aacf73c6a44b12bd2
tree0a2bbed03f5198991b0d3ed5f78e3aad3cedd6a0
parent07a10767853adcbdbf436dc91393b729b52c4e81
netfs: Remove some extraneous directory invalidations

In the directory editing code, we shouldn't re-invalidate the directory
if it is already invalidated.

Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20241216204124.3752367-15-dhowells@redhat.com
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/afs/dir_edit.c