NFS: check FMODE_EXEC from open context mode
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 2 repliesIn review
- v22 patches 0 repliesSuperseded
- v12 patches 0 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | NFS: make sure open context mode have FMODE_EXEC when file open for execfs/ fs/ | +6 | 0 replies | |
| 2/2 | NFSv4: check FMODE_EXEC from open context mode in nfs4_opendata_access()fs/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] NFS: check FMODE_EXEC from open context mode
Currently, we check FMODE_EXEC from file f_flags, and check FMODE_READ or FMODE_WRITE from open context mode.
After converting file f_flags to open context mode by flags_to_mode(), we can check all mode from open context mode.
ChenXiaoSong (2):
NFS: make sure open context mode have FMODE_EXEC when file open for
exec
NFSv4: check FMODE_EXEC from open context mode in
nfs4_opendata_access()
fs/nfs/inode.c | 3 ++- fs/nfs/nfs4file.c | 12 ++++-------- fs/nfs/nfs4proc.c | 16 +++++----------- 3 files changed, 11 insertions(+), 20 deletions(-)
Signature · 3 lines
v1->v2: use FMODE_EXEC instead of __FMODE_EXEC in nfs4_opendata_access to fix compiler warning v2->v3: update cover letter message