ocfs2: Add quota calls for allocation and freeing of inodes and space
authorJan Kara <jack@suse.cz>
Thu, 9 Oct 2008 17:38:40 +0000 (19:38 +0200)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:23 +0000 (08:40 -0800)
commita90714c150e3ce677c57a9dac3ab1ec342c75a95
tree43e3e744d86122940c0db39ac1bfed0d434b3216
parent9e33d69f553aaf11377307e8d6f82deb3385e351
ocfs2: Add quota calls for allocation and freeing of inodes and space

Add quota calls for allocation and freeing of inodes and space, also update
estimates on number of needed credits for a transaction. Move out inode
allocation from ocfs2_mknod_locked() because vfs_dq_init() must be called
outside of a transaction.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/alloc.c
fs/ocfs2/aops.c
fs/ocfs2/dir.c
fs/ocfs2/file.c
fs/ocfs2/inode.c
fs/ocfs2/journal.h
fs/ocfs2/namei.c
fs/ocfs2/xattr.c