summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ionic/ionic_controlpath.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2025-07-30 16:24:35 +0300
committerChuck Lever <chuck.lever@oracle.com>2025-09-22 02:24:50 +0300
commit3952f1cbcbc454b2cb639ddbf165c07068e90371 (patch)
tree0daecd26fa5e8fb07441147bd7af10d8a18be30a /drivers/infiniband/hw/ionic/ionic_controlpath.c
parent7663e963a51122792811811c8119fd55c9ab254a (diff)
downloadlinux-3952f1cbcbc454b2cb639ddbf165c07068e90371.tar.xz
nfsd: fix SETATTR updates for delegated timestamps
SETATTRs containing delegated timestamp updates are currently not being vetted properly. Since we no longer need to compare the timestamps vs. the current timestamps, move the vetting of delegated timestamps wholly into nfsd. Rename the set_cb_time() helper to nfsd4_vet_deleg_time(), and make it non-static. Add a new vet_deleg_attrs() helper that is called from nfsd4_setattr that uses nfsd4_vet_deleg_time() to properly validate the all the timestamps. If the validation indicates that the update should be skipped, unset the appropriate flags in ia_valid. Fixes: 7e13f4f8d27d ("nfsd: handle delegated timestamps in SETATTR") Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_controlpath.c')
0 files changed, 0 insertions, 0 deletions