[Unionfs] Re: [PATCH] IGET: Stop UnionFS from using iget() and read_inode()

Erez Zadok ezk at cs.sunysb.edu
Wed Nov 7 01:44:50 EST 2007


In message <20071106145234.4807.69325.stgit at warthog.procyon.org.uk>, David Howells writes:
> From: David Howells <dhowells at redhat.com>
> 
> Stop the UnionFS filesystem from using iget() and read_inode().  Replace
> unionfs_read_inode() with unionfs_iget(), and call that instead of iget().
> unionfs_iget() then uses iget_locked() directly and returns a proper error code
> instead of an inode in the event of an error.
> 
> unionfs_fill_super() returns any error incurred when getting the root inode
> instead of EINVAL.
> 
> Signed-off-by: David Howells <dhowells at redhat.com>
[...]

Thanks.  I tested this code and it passed all my tests.  I'll shortly submit
a slightly revised patch which applies cleanly against the unionfs code in
-mm.

Cheers,
Erez.


More information about the unionfs mailing list