Whamcloud - gitweb
libext2fs: Add new function ext2fs_file_get_inode()
authorRenzo Davoli <renzo@cs.unibo.it>
Sat, 10 Jul 2010 13:32:46 +0000 (15:32 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Jul 2010 13:40:25 +0000 (09:40 -0400)
commit6dc058bd126ba2f631e38233d899f58a04e0c74f
tree11dce2d74fd5603c95a2d115984dd2d7afdf77ca
parent86685923625eed3632eaf17cdda8e86f13b13384
libext2fs: Add new function ext2fs_file_get_inode()

This patch adds a very simple function:

struct ext2_inode *ext2fs_file_get_inode(ext2_file_t file);

which is useful for fuse-ext2 when it needs to read the inode of an
open file.

Signed-off-by: renzo davoli <renzo@cs.unibo.it>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/ext2fs.h
lib/ext2fs/fileio.c