diff --git a/fs/ceph/xattr.c b/fs/ceph/xattr.c index 65b3a84bbb2e57c6d5959ee208aad1bb3a6f7385..1a48a55c5109181336e30954943456418fcb1706 100644 --- a/fs/ceph/xattr.c +++ b/fs/ceph/xattr.c @@ -350,7 +350,7 @@ static int __build_xattrs(struct inode *inode) struct ceph_inode_info *ci = ceph_inode(inode); int xattr_version; struct ceph_inode_xattr **xattrs = NULL; - int err; + int err = 0; int i; dout("__build_xattrs() len=%d\n",