[Ocfs2-devel] [PATCH 4/8] Write out quota info changes on ocfs2_close()

Joel Becker Joel.Becker at oracle.com
Tue Jul 28 15:53:56 PDT 2009


On Mon, Jul 27, 2009 at 07:53:32PM +0200, Jan Kara wrote:
> We don't write out change of information in quota file header on each change,
> we rather cache it in ocfs2_filesys structure. So write out all the
> information when ocfs2_close() is called.
> 
> Signed-off-by: Jan Kara <jack at suse.cz>

This looks good as long as all quota ops keep those ocfs2_cached_inodes
up to date.

Joel

-- 

"In the beginning, the universe was created. This has made a lot 
 of people very angry, and is generally considered to have been a 
 bad move."
        - Douglas Adams

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list