]> git.baikalelectronics.ru Git - kernel.git/commit
omfs: add directory routines
authorBob Copeland <me@bobcopeland.com>
Sat, 26 Jul 2008 02:45:16 +0000 (19:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:05 +0000 (12:00 -0700)
commitb33e2888200929a7be8ca43c9f309864263b5ac4
tree40f74b9c4e38d12bbbbc269232fb8a5b7ad9448c
parent6c70d0f2c2b3a67c2a7d2ced82904d7bfaeee718
omfs: add directory routines

Add lookup and directory management routines for OMFS.  The filesystem uses
hashing based on the filename and stores collisions, unordered, in siblings
of files' inode structures.  To support telldir, the current position in
the hash table is encoded in fpos.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/omfs/dir.c [new file with mode: 0644]