projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Btrfs: fix wrong return value of btrfs_wait_for_commit()
[firefly-linux-kernel-4.4.55.git]
/
fs
/
btrfs
/
xattr.c
diff --git
a/fs/btrfs/xattr.c
b/fs/btrfs/xattr.c
index 3f4e2d69e83a13cb66f3f3a56024f53f5299f5c4..e9d384055494a6f17ddf9ee99f31766926a8c4dd 100644
(file)
--- a/
fs/btrfs/xattr.c
+++ b/
fs/btrfs/xattr.c
@@
-265,7
+265,7
@@
ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size)
di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item);
if (verify_dir_item(root, leaf, di))
-
continue
;
+
goto next
;
name_len = btrfs_dir_name_len(leaf, di);
total_size += name_len + 1;