diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-07-11 17:54:35 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-07-21 11:51:19 -0400 |
commit | ecbb903c56745d59c301db26dd7d8b74b520eb84 (patch) | |
tree | 882b94947ed7bae985aa9535066452a74d01d404 /fs/f2fs/namei.c | |
parent | bd8b2441742b49c76bec707757bd9c028ea9838e (diff) | |
download | linux-stable-ecbb903c56745d59c301db26dd7d8b74b520eb84.tar.gz linux-stable-ecbb903c56745d59c301db26dd7d8b74b520eb84.tar.bz2 linux-stable-ecbb903c56745d59c301db26dd7d8b74b520eb84.zip |
NFS: Be more careful about mapping file permissions
When mapping a directory, we want the MAY_WRITE permissions to reflect
whether or not we have permission to modify, add and delete the directory
entries. MAY_EXEC must map to lookup permissions.
On the other hand, for files, we want MAY_WRITE to reflect a permission
to modify and extend the file.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/f2fs/namei.c')
0 files changed, 0 insertions, 0 deletions