]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/btrfs/xattr.c
Merge branch 'misc-for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[mirror_ubuntu-bionic-kernel.git] / fs / btrfs / xattr.c
index 24e8ff72273002c13295b3d5972eaf070de7da39..608552ed89c078fc953679d84b0016a9a1db77af 100644 (file)
@@ -283,7 +283,7 @@ ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size)
        path = btrfs_alloc_path();
        if (!path)
                return -ENOMEM;
-       path->reada = 2;
+       path->reada = READA_FORWARD;
 
        /* search for our xattrs */
        ret = btrfs_search_slot(NULL, root, &key, path, 0, 0);