summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue_types.h
diff options
context:
space:
mode:
authorFrank Sorenson <sorenson@redhat.com>2026-08-23 18:26:46 -0500
committerPaulo Alcantara <pc@manguebit.org>2026-08-26 19:32:05 -0300
commit53676a5e28231186c9f56d87b7998b640699bc15 (patch)
tree447f48cb5675be72fa3f0ae5f977b9b4987bd662 /include/linux/timerqueue_types.h
parent45c13f3f9e3bb15fd89ff2864c6f627a3b4b4229 (diff)
cifs: add revalidation on FSCTL failure in smb2_duplicate_extents()
smb2_duplicate_extents() has no handling for FSCTL_DUPLICATE_EXTENTS_TO_FILE failure: when the FSCTL fails, local inode metadata may be stale from the pre-extension or from concurrent remote writes, but is never refreshed. Force revalidation on FSCTL failure and use i_size_read() for the pre-extension check. Fixes: cfc63fc8126a ("smb3: fix cached file size problems in duplicate extents (reflink)") Cc: stable@vger.kernel.org Signed-off-by: Frank Sorenson <sorenson@redhat.com> Signed-off-by: Paulo Alcantara <pc@manguebit.org>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions