summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2014-02-02 14:41:42 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-02-03 13:13:50 -0500
commitd4c42fb493e018e9240810bb6dc5334ae0505145 (patch)
treec12c254e79c84a4c1f51f03db7acde6bae7666e8 /fs/nfs
parent718360c59f34b80d9878429300c1c688f7c2031d (diff)
downloadop-kernel-dev-d4c42fb493e018e9240810bb6dc5334ae0505145.zip
op-kernel-dev-d4c42fb493e018e9240810bb6dc5334ae0505145.tar.gz
NFSv3: Remove unused function nfs3_proc_set_default_acl
Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/nfs3acl.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/fs/nfs/nfs3acl.c b/fs/nfs/nfs3acl.c
index 0851f85..9271a6b 100644
--- a/fs/nfs/nfs3acl.c
+++ b/fs/nfs/nfs3acl.c
@@ -233,25 +233,6 @@ fail:
return PTR_ERR(alloc);
}
-int nfs3_proc_set_default_acl(struct inode *dir, struct inode *inode,
- umode_t mode)
-{
- struct posix_acl *default_acl, *acl;
- int error;
-
- error = posix_acl_create(dir, &mode, &default_acl, &acl);
- if (error)
- return (error == -EOPNOTSUPP) ? 0 : error;
-
- error = nfs3_proc_setacls(inode, acl, default_acl);
-
- if (acl)
- posix_acl_release(acl);
- if (default_acl)
- posix_acl_release(default_acl);
- return error;
-}
-
const struct xattr_handler *nfs3_xattr_handlers[] = {
&posix_acl_access_xattr_handler,
&posix_acl_default_xattr_handler,
OpenPOWER on IntegriCloud