Skip to content
Commit cbc06310 authored by Jeff Layton's avatar Jeff Layton Committed by Chandan Babu R
Browse files

xfs: reinstate the old i_version counter as STATX_CHANGE_COOKIE



The handling of STATX_CHANGE_COOKIE was moved into generic_fillattr in
commit 0d72b928 (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: 0d72b928 (fs: pass the request_mask to generic_fillattr)
Signed-off-by: default avatarJeff Layton <jlayton@kernel.org>
Reviewed-by: default avatar"Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: default avatarChandan Babu R <chandanbabu@kernel.org>
parent f93b9300
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment