drm/i915: Fix oops on HWS unload
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / fs / 9p / xattr.h
blob9ddf672ae5c41b87a47bd1029d0569b3ccc76fe5
1 /*
2 * Copyright IBM Corporation, 2010
3 * Author Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
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.
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.
14 #ifndef FS_9P_XATTR_H
15 #define FS_9P_XATTR_H
17 #include <linux/xattr.h>
19 extern const struct xattr_handler *v9fs_xattr_handlers[];
20 extern struct xattr_handler v9fs_xattr_user_handler;
22 extern ssize_t v9fs_xattr_get(struct dentry *, const char *,
23 void *, size_t);
24 extern int v9fs_xattr_set(struct dentry *, const char *,
25 const void *, size_t, int);
26 extern ssize_t v9fs_listxattr(struct dentry *, char *, size_t);
27 #endif /* FS_9P_XATTR_H */