From: Christoph Hellwig Date: Fri, 28 Nov 2008 03:23:32 +0000 (+1100) Subject: [XFS] wire up ->open for directories X-Git-Tag: v2.6.29-rc1~552^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f999a5bf3fa6b3d11334c3ba1e9dcfed5ff9f8a6;p=pandora-kernel.git [XFS] wire up ->open for directories Currently there's no ->open method set for directories on XFS. That means we don't perform any check for opening too large directories without O_LARGEFILE, we don't check for shut down filesystems, and we don't actually do the readahead for the first block in the directory. Instead of just setting the directories open routine to xfs_file_open we merge the shutdown check directly into xfs_file_open and create a new xfs_dir_open that first calls xfs_file_open and then performs the readahead for block 0. (First sent on September 29th) Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Signed-off-by: Niv Sardi --- Reading git-diff-tree failed