https://github.com/torvalds/linux
Revision cbc06310c36f73a5f3b0c6f0d974d60cf66d816b authored by Jeff Layton on 29 September 2023, 18:43:18 UTC, committed by Chandan Babu R on 12 October 2023, 04:47:03 UTC
The handling of STATX_CHANGE_COOKIE was moved into generic_fillattr in
commit 0d72b92883c6 (fs: pass the request_mask to generic_fillattr), but
we didn't account for the fact that xfs doesn't call generic_fillattr at
all.

Make XFS report its i_version as the STATX_CHANGE_COOKIE.

Fixes: 0d72b92883c6 (fs: pass the request_mask to generic_fillattr)
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
1 parent f93b930
Raw File
Tip revision: cbc06310c36f73a5f3b0c6f0d974d60cf66d816b authored by Jeff Layton on 29 September 2023, 18:43:18 UTC
xfs: reinstate the old i_version counter as STATX_CHANGE_COOKIE
Tip revision: cbc0631
.rustfmt.toml
edition = "2021"
newline_style = "Unix"

# Unstable options that help catching some mistakes in formatting and that we may want to enable
# when they become stable.
#
# They are kept here since they are useful to run from time to time.
#format_code_in_doc_comments = true
#reorder_impl_items = true
#comment_width = 100
#wrap_comments = true
#normalize_comments = true
back to top