squashfs: fix name reading in squashfs_xattr_get
authorPhillip Lougher <phillip@lougher.demon.co.uk>
Sun, 23 May 2010 07:27:42 +0000 (08:27 +0100)
committerPhillip Lougher <phillip@lougher.demon.co.uk>
Sun, 23 May 2010 07:27:42 +0000 (08:27 +0100)
commit5c80f5aa409b211ab193c56fb6b77d73b61966e5
tree8559d669666b1174067f29294015164251d2088b
parentf6db25a87643fa6108e211da0397423593ca36fe
squashfs: fix name reading in squashfs_xattr_get

Only read potentially matching names into the target buffer, all
obviously non matching names don't need to be read into the
target buffer.

Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
fs/squashfs/xattr.c