Whamcloud - gitweb
LU-14651 llite: extend inode methods with user namespace arg
[fs/lustre-release.git] / lustre / llite / foreign_symlink.h
1 /*
2  * GPL HEADER START
3  *
4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 only,
8  * as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License version 2 for more details (a copy is included
14  * in the LICENSE file that accompanied this code).
15  *
16  * You should have received a copy of the GNU General Public License
17  * version 2 along with this program; If not, see
18  * http://www.gnu.org/licenses/gpl-2.0.html
19  *
20  * GPL HEADER END
21  */
22
23 #ifndef LLITE_FOREIGN_SYMLINK_H
24 #define LLITE_FOREIGN_SYMLINK_H
25
26 /* llite/llite_foreign_symlink.c */
27 ssize_t foreign_symlink_enable_show(struct kobject *kobj,
28                                     struct attribute *attr, char *buf);
29 ssize_t foreign_symlink_enable_store(struct kobject *kobj,
30                                      struct attribute *attr,
31                                      const char *buffer, size_t count);
32 ssize_t foreign_symlink_prefix_show(struct kobject *kobj,
33                                     struct attribute *attr, char *buf);
34 ssize_t foreign_symlink_prefix_store(struct kobject *kobj,
35                                      struct attribute *attr,
36                                      const char *buffer, size_t count);
37 ssize_t foreign_symlink_upcall_show(struct kobject *kobj,
38                                     struct attribute *attr, char *buf);
39 ssize_t foreign_symlink_upcall_store(struct kobject *kobj,
40                                      struct attribute *attr,
41                                      const char *buffer, size_t count);
42 ssize_t foreign_symlink_upcall_info_store(struct kobject *kobj,
43                                      struct attribute *attr,
44                                      const char *buffer, size_t count);
45 extern struct inode_operations ll_foreign_file_symlink_inode_operations;
46 extern struct inode_operations ll_foreign_dir_symlink_inode_operations;
47
48 #endif /* LLITE_FOREIGN_SYMLINK_H */