1 /* SPDX-License-Identifier: LGPL-2.1 */ << 2 /* 1 /* 3 * Copyright IBM Corporation, 2010 2 * Copyright IBM Corporation, 2010 4 * Author Aneesh Kumar K.V <aneesh.kumar@linux 3 * Author Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> >> 4 * >> 5 * This program is free software; you can redistribute it and/or modify it >> 6 * under the terms of version 2.1 of the GNU Lesser General Public License >> 7 * as published by the Free Software Foundation. >> 8 * >> 9 * This program is distributed in the hope that it would be useful, but >> 10 * WITHOUT ANY WARRANTY; without even the implied warranty of >> 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >> 12 * 5 */ 13 */ 6 #ifndef FS_9P_XATTR_H 14 #ifndef FS_9P_XATTR_H 7 #define FS_9P_XATTR_H 15 #define FS_9P_XATTR_H 8 16 9 #include <linux/xattr.h> 17 #include <linux/xattr.h> 10 #include <net/9p/9p.h> 18 #include <net/9p/9p.h> 11 #include <net/9p/client.h> 19 #include <net/9p/client.h> 12 20 13 extern const struct xattr_handler * const v9fs !! 21 extern const struct xattr_handler *v9fs_xattr_handlers[]; >> 22 extern const struct xattr_handler v9fs_xattr_acl_access_handler; >> 23 extern const struct xattr_handler v9fs_xattr_acl_default_handler; 14 24 15 ssize_t v9fs_fid_xattr_get(struct p9_fid *fid, !! 25 extern ssize_t v9fs_fid_xattr_get(struct p9_fid *, const char *, 16 void *buffer, size_ !! 26 void *, size_t); 17 ssize_t v9fs_xattr_get(struct dentry *dentry, !! 27 extern ssize_t v9fs_xattr_get(struct dentry *, const char *, 18 void *buffer, size_t bu !! 28 void *, size_t); 19 int v9fs_fid_xattr_set(struct p9_fid *fid, con !! 29 extern int v9fs_fid_xattr_set(struct p9_fid *, const char *, 20 const void *value, size !! 30 const void *, size_t, int); 21 int v9fs_xattr_set(struct dentry *dentry, cons !! 31 extern int v9fs_xattr_set(struct dentry *, const char *, 22 const void *value, size_t v !! 32 const void *, size_t, int); 23 ssize_t v9fs_listxattr(struct dentry *dentry, !! 33 extern ssize_t v9fs_listxattr(struct dentry *, char *, size_t); 24 size_t buffer_size); << 25 #endif /* FS_9P_XATTR_H */ 34 #endif /* FS_9P_XATTR_H */ 26 35
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.