cifs: introduce cifs_dirent
commitcda0ec6a86f18127d490048a46de954c03886d5e
authorChristoph Hellwig <hch@infradead.org>
Sat, 16 Jul 2011 19:24:05 +0000 (16 15:24 -0400)
committerSteve French <sfrench@us.ibm.com>
Mon, 25 Jul 2011 21:36:44 +0000 (25 21:36 +0000)
tree82497b560bff0119054abbf6d1c6686c09bb4842
parent9feed6f8fbab477b6339efb4f3119a3c22dc187e
cifs: introduce cifs_dirent

Introduce a generic directory entry structure, and factor the parsing
of the various on the wire structures that can represent one into
a common helper.  Switch cifs_entry_is_dot over to use it as a start.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/readdir.c