diff options
author | Michael Kelly <mike@weatherwax.co.uk> | 2025-07-10 18:29:44 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-07-10 18:29:44 +0200 |
commit | 7dfabcb3764da7f39179c591325e57ab44de06bf (patch) | |
tree | 8f357e8fe919f7661bef1e99dde9fae5594f5c19 | |
parent | dd25753c3f76805a4efb5dc6189efc59a65c2697 (diff) |
nfs: Fix pointer arithmetic
-rw-r--r-- | nfs/ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -124,9 +124,9 @@ process_wcc_stat (struct node *np, int *p, int mod) if (attrs_exist) { /* Just skip them for now */ - p += 2 * sizeof (int); /* size */ - p += 2 * sizeof (int); /* mtime */ - p += 2 * sizeof (int); /* atime */ + p += 2; /* size */ + p += 2; /* mtime */ + p += 2; /* atime */ } /* Now the post_op_attr */ |