Repository navigation
Commit 4854a5f
ext3: ext3_mark_recovery_complete() doesn't need to use lock_super
The function ext3_mark_recovery_complete() is called from two call
paths: either (a) while mounting the filesystem, in which case there's
no danger of any other CPU calling write_super() until the mount is
completed, and (b) while remounting the filesystem read-write, in
which case the fs core has already locked the superblock. This also
allows us to take out a very vile unlock_super()/lock_super() pair in
ext3_remount().
Port of ext4 commit a63c9eb by
Theodore Ts'o <tytso@mit.edu>.
CC: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>1 parent ed505ee commit 4854a5f
1 file changed
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2396 | 2396 | | |
2397 | 2397 | | |
2398 | 2398 | | |
2399 | | - | |
2400 | 2399 | | |
2401 | 2400 | | |
2402 | 2401 | | |
2403 | 2402 | | |
2404 | 2403 | | |
2405 | | - | |
2406 | 2404 | | |
2407 | 2405 | | |
2408 | 2406 | | |
| |||
2594 | 2592 | | |
2595 | 2593 | | |
2596 | 2594 | | |
2597 | | - | |
2598 | | - | |
2599 | | - | |
2600 | | - | |
2601 | | - | |
2602 | 2595 | | |
2603 | | - | |
2604 | 2596 | | |
2605 | 2597 | | |
2606 | 2598 | | |
| |||
0 commit comments