diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2010-04-15 15:19:30 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-04-15 15:19:30 -0400 |
commit | de766fda10a9ea3f0d24cf78ec590cbc9edce22e (patch) | |
tree | 79255f801204b9ddacbf30a99e36538ab8d2705d /fs/autofs4/root.c | |
parent | abb16cedd2f4b1cd1399da62ab287a065b5ce1a0 (diff) |
ext4: clean up inode bitmaps manipulation in ext4_free_inode
- Reorganize locking scheme to batch two atomic operation in to one.
This also allow us to state what healthy group must obey following rule
ext4_free_inodes_count(sb, gdp) == ext4_count_free(inode_bitmap, NUM);
- Fix possible undefined pointer dereference.
- Even if group descriptor stats aren't accessible we have to update
inode bitmaps.
- Move non-group members update out of group_lock.
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/autofs4/root.c')
0 files changed, 0 insertions, 0 deletions