]> git.karo-electronics.de Git - linux-beck.git/blobdiff - fs/ocfs2/file.c
ocfs2: Add extended attribute support
[linux-beck.git] / fs / ocfs2 / file.c
index 89d8541f85b5c5661bc5fb793b83dc7e1483688c..f4273c2c20959e3898e0f77ba54198ae74b309f2 100644 (file)
@@ -55,6 +55,7 @@
 #include "mmap.h"
 #include "suballoc.h"
 #include "super.h"
+#include "xattr.h"
 
 #include "buffer_head_io.h"
 
@@ -2070,6 +2071,10 @@ const struct inode_operations ocfs2_file_iops = {
        .setattr        = ocfs2_setattr,
        .getattr        = ocfs2_getattr,
        .permission     = ocfs2_permission,
+       .setxattr       = generic_setxattr,
+       .getxattr       = generic_getxattr,
+       .listxattr      = ocfs2_listxattr,
+       .removexattr    = generic_removexattr,
        .fallocate      = ocfs2_fallocate,
        .fiemap         = ocfs2_fiemap,
 };