diff options
Diffstat (limited to 'fs/9p/vfs_inode.c')
-rw-r--r-- | fs/9p/vfs_inode.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index 2ac245902a4f..39352ef954dc 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <linux/idr.h> | 35 | #include <linux/idr.h> |
36 | #include <linux/sched.h> | 36 | #include <linux/sched.h> |
37 | #include <linux/slab.h> | 37 | #include <linux/slab.h> |
38 | #include <linux/xattr.h> | ||
38 | #include <net/9p/9p.h> | 39 | #include <net/9p/9p.h> |
39 | #include <net/9p/client.h> | 40 | #include <net/9p/client.h> |
40 | 41 | ||
@@ -42,6 +43,7 @@ | |||
42 | #include "v9fs_vfs.h" | 43 | #include "v9fs_vfs.h" |
43 | #include "fid.h" | 44 | #include "fid.h" |
44 | #include "cache.h" | 45 | #include "cache.h" |
46 | #include "xattr.h" | ||
45 | 47 | ||
46 | static const struct inode_operations v9fs_dir_inode_operations; | 48 | static const struct inode_operations v9fs_dir_inode_operations; |
47 | static const struct inode_operations v9fs_dir_inode_operations_dotu; | 49 | static const struct inode_operations v9fs_dir_inode_operations_dotu; |
@@ -1931,6 +1933,11 @@ static const struct inode_operations v9fs_dir_inode_operations_dotl = { | |||
1931 | .rename = v9fs_vfs_rename, | 1933 | .rename = v9fs_vfs_rename, |
1932 | .getattr = v9fs_vfs_getattr_dotl, | 1934 | .getattr = v9fs_vfs_getattr_dotl, |
1933 | .setattr = v9fs_vfs_setattr_dotl, | 1935 | .setattr = v9fs_vfs_setattr_dotl, |
1936 | .setxattr = generic_setxattr, | ||
1937 | .getxattr = generic_getxattr, | ||
1938 | .removexattr = generic_removexattr, | ||
1939 | .listxattr = v9fs_listxattr, | ||
1940 | |||
1934 | }; | 1941 | }; |
1935 | 1942 | ||
1936 | static const struct inode_operations v9fs_dir_inode_operations = { | 1943 | static const struct inode_operations v9fs_dir_inode_operations = { |
@@ -1953,6 +1960,10 @@ static const struct inode_operations v9fs_file_inode_operations = { | |||
1953 | static const struct inode_operations v9fs_file_inode_operations_dotl = { | 1960 | static const struct inode_operations v9fs_file_inode_operations_dotl = { |
1954 | .getattr = v9fs_vfs_getattr_dotl, | 1961 | .getattr = v9fs_vfs_getattr_dotl, |
1955 | .setattr = v9fs_vfs_setattr_dotl, | 1962 | .setattr = v9fs_vfs_setattr_dotl, |
1963 | .setxattr = generic_setxattr, | ||
1964 | .getxattr = generic_getxattr, | ||
1965 | .removexattr = generic_removexattr, | ||
1966 | .listxattr = v9fs_listxattr, | ||
1956 | }; | 1967 | }; |
1957 | 1968 | ||
1958 | static const struct inode_operations v9fs_symlink_inode_operations = { | 1969 | static const struct inode_operations v9fs_symlink_inode_operations = { |
@@ -1969,4 +1980,8 @@ static const struct inode_operations v9fs_symlink_inode_operations_dotl = { | |||
1969 | .put_link = v9fs_vfs_put_link, | 1980 | .put_link = v9fs_vfs_put_link, |
1970 | .getattr = v9fs_vfs_getattr_dotl, | 1981 | .getattr = v9fs_vfs_getattr_dotl, |
1971 | .setattr = v9fs_vfs_setattr_dotl, | 1982 | .setattr = v9fs_vfs_setattr_dotl, |
1983 | .setxattr = generic_setxattr, | ||
1984 | .getxattr = generic_getxattr, | ||
1985 | .removexattr = generic_removexattr, | ||
1986 | .listxattr = v9fs_listxattr, | ||
1972 | }; | 1987 | }; |