diff options
| author | ChenXiaoSong <chenxiaosong2@huawei.com> | 2022-09-23 13:40:15 +0800 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-12-06 10:39:17 -0500 |
| commit | d564d2c4c2445cb0972453933dc87c2dcaac8597 (patch) | |
| tree | cedaed4b44608f7059890a58de18b84b3783ccf6 /lib/debugobjects.c | |
| parent | 6f1c1d95dc93b52a8ef9cc1f3f610c2d5e6b217b (diff) | |
NFSv4: check FMODE_EXEC from open context mode in nfs4_opendata_access()
After converting file f_flags to open context mode by flags_to_mode(), open
context mode will have FMODE_EXEC when file open for exec, so we check
FMODE_EXEC from open context mode.
No functional change, just simplify the code.
Signed-off-by: ChenXiaoSong <chenxiaosong2@huawei.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
