]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/ceph/xattr.c
Merge tag 'for-linus-20130318' of git://git.infradead.org/linux-mtd
[karo-tx-linux.git] / fs / ceph / xattr.c
index 2135817e708deb0abbc25d7584dcd0b6e23e030a..9b6b2b6dd164c5fd047f691a68aac03fd8de69d5 100644 (file)
@@ -213,7 +213,7 @@ static struct ceph_vxattr ceph_dir_vxattrs[] = {
        XATTR_NAME_CEPH(dir, rsubdirs),
        XATTR_NAME_CEPH(dir, rbytes),
        XATTR_NAME_CEPH(dir, rctime),
-       { 0 }   /* Required table terminator */
+       { .name = NULL, 0 }     /* Required table terminator */
 };
 static size_t ceph_dir_vxattrs_name_size;      /* total size of all names */
 
@@ -232,7 +232,7 @@ static struct ceph_vxattr ceph_file_vxattrs[] = {
        XATTR_LAYOUT_FIELD(file, layout, stripe_count),
        XATTR_LAYOUT_FIELD(file, layout, object_size),
        XATTR_LAYOUT_FIELD(file, layout, pool),
-       { 0 }   /* Required table terminator */
+       { .name = NULL, 0 }     /* Required table terminator */
 };
 static size_t ceph_file_vxattrs_name_size;     /* total size of all names */