mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
0c95c025a0
Remove struct posix_acl_{access,default}_handler for all filesystems that don't depend on the xattr handler in their inode->i_op->listxattr() method in any way. There's nothing more to do than to simply remove the handler. It's been effectively unused ever since we introduced the new posix acl api. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
34 lines
624 B
C
34 lines
624 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (c) 2012 Netapp, Inc. All rights reserved.
|
|
*/
|
|
#include <linux/module.h>
|
|
#include <linux/nfs_fs.h>
|
|
#include "internal.h"
|
|
#include "nfs3_fs.h"
|
|
#include "nfs.h"
|
|
|
|
struct nfs_subversion nfs_v3 = {
|
|
.owner = THIS_MODULE,
|
|
.nfs_fs = &nfs_fs_type,
|
|
.rpc_vers = &nfs_version3,
|
|
.rpc_ops = &nfs_v3_clientops,
|
|
.sops = &nfs_sops,
|
|
};
|
|
|
|
static int __init init_nfs_v3(void)
|
|
{
|
|
register_nfs_version(&nfs_v3);
|
|
return 0;
|
|
}
|
|
|
|
static void __exit exit_nfs_v3(void)
|
|
{
|
|
unregister_nfs_version(&nfs_v3);
|
|
}
|
|
|
|
MODULE_LICENSE("GPL");
|
|
|
|
module_init(init_nfs_v3);
|
|
module_exit(exit_nfs_v3);
|