diff options
| author | Martin Brandenburg <[email protected]> | 2018-02-07 18:44:50 +0000 |
|---|---|---|
| committer | Mike Marshall <[email protected]> | 2019-05-03 14:32:38 -0400 |
| commit | 8b60785c1d7c63415c32bf64dabc686b9045ce7d (patch) | |
| tree | 12547b5b9a16bc1c99237beed0ec122b30bcf60c /lib/test_fortify/write_overflow-strcpy.c | |
| parent | 66d5477d7002aeee206108b43cde12d12c3c9d5b (diff) | |
orangefs: simplify orangefs_inode_getattr interface
No need to store the received mask. It is either STATX_BASIC_STATS or
STATX_BASIC_STATS & ~STATX_SIZE. If STATX_SIZE is requested, the cache
is bypassed anyway, so the cached mask is unnecessary to decide whether
to do a real getattr.
This is a change. Previously a getattr would want size and use the
cached size. All of the in-kernel callers that wanted size did not want
a cached size. Now a getattr cannot use the cached size if it wants
size at all.
Signed-off-by: Martin Brandenburg <[email protected]>
Signed-off-by: Mike Marshall <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions