]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72c6a9584db14c43d7778c1977b871944649c1c9
tree84e30310a7d93ead9910f761e19d3fe73c5861b3
parent73af9982da51a2aac929ad2c7bfe3970b6a0cc5a
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