]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: namecheck directory entry names before listing them
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 28 Oct 2019 23:12:34 +0000 (16:12 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 29 Oct 2019 16:50:11 +0000 (09:50 -0700)
commit04df34ac6494b216a911c5571bf4ee299cd34164
tree227ef80e8cbb54db878e78c7714ef30ece388572
parent16c6e92c7e9836ed08db5f9771e75845796bd87f
xfs: namecheck directory entry names before listing them

Actually call namecheck on directory entry names before we hand them
over to userspace.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/xfs_dir2_readdir.c