commit | 741e128933448e589a85286e535078b24f4cf568 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Thu May 13 18:05:15 2010 +0200 |
committer | Jan Kara <jack@suse.cz> | Fri May 21 19:30:48 2010 +0200 |
tree | 40a069e5c7484673529f0747a9995cc7d2a85f00 | |
parent | 832d09cf1438bd172f69478bde74f20f05ec0115 [diff] |
ocfs2: Fix NULL pointer deref when writing local dquot commit_dqblk() can write quota info to global file. That is actually a bad thing to do because if we are just modifying local quota file, we are not prepared (do not hold proper locks, do not have transaction credits) to do a modification of the global quota file. So do not use commit_dqblk() and instead call our writing function directly. Acked-by: Joel Becker <Joel.Becker@oracle.com> Signed-off-by: Jan Kara <jack@suse.cz>