diff --git a/fs/ceph/xattr.c b/fs/ceph/xattr.c index db288b4aee6d..0cec77cb674e 100644 --- a/fs/ceph/xattr.c +++ b/fs/ceph/xattr.c @@ -1233,6 +1233,7 @@ int __ceph_setxattr(struct inode *inode, const char *name, do_sync: spin_unlock(&ci->i_ceph_lock); + ceph_buffer_put(old_blob); do_sync_unlocked: if (lock_snap_rwsem) up_read(&mdsc->snap_rwsem);