diff options
author | Frank van der Linden <fllinden@amazon.com> | 2020-06-24 00:38:59 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-07-13 23:52:45 +0200 |
commit | 1b523ca972edba2025e45080b08385928a29aa30 (patch) | |
tree | 61d09ce575fe31583fe0ef4b7221c0f461c1eb67 /fs/nfs/nfstrace.h | |
parent | NFSv4.2: query the extended attribute access bits (diff) | |
download | linux-1b523ca972edba2025e45080b08385928a29aa30.tar.xz linux-1b523ca972edba2025e45080b08385928a29aa30.zip |
nfs: modify update_changeattr to deal with regular files
Until now, change attributes in change_info form were only returned by
directory operations. However, they are also used for the RFC 8276
extended attribute operations, which work on both directories
and regular files. Modify update_changeattr to deal:
* Rename it to nfs4_update_changeattr and make it non-static.
* Don't always use INO_INVALID_DATA, this isn't needed for a
directory that only had its extended attributes changed by us.
* Existing callers now always pass in INO_INVALID_DATA.
For the current callers of this function, behavior is unchanged.
Signed-off-by: Frank van der Linden <fllinden@amazon.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfstrace.h')
0 files changed, 0 insertions, 0 deletions