From: Jeff Layton Date: Thu, 9 Jul 2009 05:46:37 +0000 (-0400) Subject: cifs: convert cifs_get_inode_info and non-posix readdir to use cifs_iget X-Git-Tag: v2.6.31-rc3~39^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b8f18e358384a52c1ed7fa7129c08e7eaf86bb6;p=pandora-kernel.git cifs: convert cifs_get_inode_info and non-posix readdir to use cifs_iget cifs: convert cifs_get_inode_info and non-posix readdir to use cifs_iget Rather than allocating an inode and filling it out, have cifs_get_inode_info fill out a cifs_fattr and call cifs_iget. This means a pretty hefty reorganization of cifs_get_inode_info. For the readdir codepath, add a couple of new functions for filling out cifs_fattr's from different FindFile response infolevels. Finally, remove cifs_new_inode since there are no more callers. Signed-off-by: Jeff Layton Reviewed-by: Christoph Hellwig Signed-off-by: Steve French --- Reading git-diff-tree failed