aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/btrfs/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/xattr.c b/fs/btrfs/xattr.c
index adb4b32a9d51..4146f0710e6a 100644
--- a/fs/btrfs/xattr.c
+++ b/fs/btrfs/xattr.c
@@ -226,7 +226,7 @@ ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size)
226 226
227 if (!buffer || (name_len + 1) > size_left) { 227 if (!buffer || (name_len + 1) > size_left) {
228 ret = -ERANGE; 228 ret = -ERANGE;
229 break; 229 goto err;
230 } 230 }
231 231
232 name_ptr = (unsigned long)(di + 1); 232 name_ptr = (unsigned long)(di + 1);