mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
38c8a9a520
Move CIFS/SMB3 related client and server files (cifs.ko and ksmbd.ko and helper modules) to new fs/smb subdirectory: fs/cifs --> fs/smb/client fs/ksmbd --> fs/smb/server fs/smbfs_common --> fs/smb/common Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
22 lines
736 B
C
22 lines
736 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2020 Samsung Electronics Co., Ltd.
|
|
* Author(s): Namjae Jeon <linkinjeon@kernel.org>
|
|
*/
|
|
|
|
struct ndr {
|
|
char *data;
|
|
int offset;
|
|
int length;
|
|
};
|
|
|
|
#define NDR_NTSD_OFFSETOF 0xA0
|
|
|
|
int ndr_encode_dos_attr(struct ndr *n, struct xattr_dos_attrib *da);
|
|
int ndr_decode_dos_attr(struct ndr *n, struct xattr_dos_attrib *da);
|
|
int ndr_encode_posix_acl(struct ndr *n, struct mnt_idmap *idmap,
|
|
struct inode *inode, struct xattr_smb_acl *acl,
|
|
struct xattr_smb_acl *def_acl);
|
|
int ndr_encode_v4_ntacl(struct ndr *n, struct xattr_ntacl *acl);
|
|
int ndr_encode_v3_ntacl(struct ndr *n, struct xattr_ntacl *acl);
|
|
int ndr_decode_v4_ntacl(struct ndr *n, struct xattr_ntacl *acl);
|