]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: add support for the umask attribute
authorAndreas Gruenbacher <agruenba@redhat.com>
Sat, 3 Dec 2016 03:53:30 +0000 (22:53 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 10 Dec 2016 04:47:10 +0000 (23:47 -0500)
commit588889835f6ac169add42ad284bfacf80300ea54
tree5072c5bf9d907cabcfa354e7c100d0302b10cb36
parent0d49076f17edbcea6422a1fc60331d20c347370c
nfs: add support for the umask attribute

Clients can set the umask attribute when creating files to cause the
server to apply it always except when inheriting permissions from the
parent directory.  That way, the new files will end up with the same
permissions as files created locally.

See https://tools.ietf.org/html/draft-ietf-nfsv4-umask-02 for more details.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/dir.c
fs/nfs/nfs4proc.c
fs/nfs/nfs4xdr.c
include/linux/nfs4.h
include/linux/nfs_xdr.h