ocfs2: Introduce dir lookup helper struct
authorMark Fasheh <mfasheh@suse.com>
Wed, 12 Nov 2008 23:43:34 +0000 (15:43 -0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 3 Apr 2009 18:39:15 +0000 (11:39 -0700)
commit4a12ca3a00a244e1fd1e673d151ea38b71e11d55
tree84e30310a7d93ead9910f761e19d3fe73c5861b3
parent59b526a30722f29e5dba6210a6e0fc34e3149b94
ocfs2: Introduce dir lookup helper struct

Many directory manipulation calls pass around a tuple of dirent, and it's
containing buffer_head. Dir indexing has a bit more state, but instead of
adding yet more arguments to functions, we introduce 'struct
ocfs2_dir_lookup_result'. In this patch, it simply holds the same tuple, but
future patches will add more state.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Acked-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dir.c
fs/ocfs2/dir.h
fs/ocfs2/namei.c