]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd2b5b0614a750e11fa6761ab5f0e966e6fab3d1d
tree43e3e744d86122940c0db39ac1bfed0d434b3216
parentf9b385c346ae256c0308bf0b26bc872041d9a583
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