diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2010-03-27 15:15:38 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-05-21 19:30:37 +0200 |
commit | eabf290d1470921f0ce5a9b22464ae30646a0677 (patch) | |
tree | ba3a4ae74101a2ca31fabdbfa3576776cbddf2ed /fs/ext2/ialloc.c | |
parent | 46891532370e862d6bddedef9e6ca22a59a51fa4 (diff) | |
download | lwn-eabf290d1470921f0ce5a9b22464ae30646a0677.tar.gz lwn-eabf290d1470921f0ce5a9b22464ae30646a0677.zip |
quota: optimize mark_dirty logic
- Skip locking if quota is dirty already.
- Return old quota state to help fs-specciffic implementation to optimize
case where quota was dirty already.
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2/ialloc.c')
0 files changed, 0 insertions, 0 deletions