nfs: Set MS_POSIXACL always
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 9 Dec 2010 11:35:14 +0000 (11:35 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 4 Jan 2011 18:10:40 +0000 (13:10 -0500)
commita8a5da996df7d2d91b5aef2752da9adcefea4bc6
tree605be5f4af59d5cc324ae11c18a8b34db7ab3c6a
parentbf0c84f1614bffc59565d04f09b9ac6b1aa269a9
nfs: Set MS_POSIXACL always

We want to skip VFS applying mode for NFS. So set MS_POSIXACL always
and selectively use umask. Ideally we would want to use umask only
when we don't have inheritable ACEs set. But NFS currently don't
allow to send umask to the server. So this is best what we can do
and this is consistent with NFSv3

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
fs/nfs/nfs4proc.c
fs/nfs/super.c