search for: lock_super

Displaying 4 results from an estimated 4 matches for "lock_super".

Did you mean: unlock_super
2002 Dec 06
2
[patch] fix the ext3 data=journal unmount bug
...-- fs/super.c | 6 +++++- include/linux/fs.h | 3 ++- 4 files changed, 24 insertions(+), 16 deletions(-) --- linux-akpm/fs/buffer.c~sync_fs Thu Dec 5 21:33:56 2002 +++ linux-akpm-akpm/fs/buffer.c Thu Dec 5 21:33:56 2002 @@ -327,6 +327,8 @@ int fsync_super(struct super_block *sb) lock_super(sb); if (sb->s_dirt && sb->s_op && sb->s_op->write_super) sb->s_op->write_super(sb); + if (sb->s_op && sb->s_op->sync_fs) + sb->s_op->sync_fs(sb); unlock_super(sb); unlock_kernel(); @@ -346,7 +348,7 @@ int fsync_dev(kdev_t dev)...
2002 Apr 02
0
[patch] fix ext3 i_blocks accounting
This fixes the "i_blocks went wrong when the disk filled up" problem. In ext3_new_block() we increment i_blocks early, so the quota operation can be performed outside lock_super(). But if the block allocation ends up failing, we forget to undo the allocation. This is not a serious bug, and probably does not warrant an upgrade for production machines. Its effects are: 1) errors are generated from e2fsck and 2) users could appear to be over quota when they really aren&...
2001 Jul 06
1
ext3-2.4-0.9.0
...of data. This has caused some duplication of core code within ext3, but it's not too bad. - A number of cleanups and resyncs with latest ext2. (Thanks, Al). - Reorganised and optimised ext3_write_inode() and the handling of files which were opened O_SYNC. - Move quota operations outside lock_super() - fixes last known source of quota deadlocks in -ac kernels. - Deleted large chunks of debug/development support code. - Improved handling of corner-case errors. - Improved robustness in out-of-memory situations. The last change is probably the most significant - it prevents possible crashe...
2005 Jan 06
0
[2.6 patch] fs/ext3/: possible cleanups
...@@ * Called by LVM after the snapshot is done. We need to reset the RECOVER * flag here, even though the filesystem is not technically dirty yet. */ -void ext3_unlockfs(struct super_block *sb) +static void ext3_unlockfs(struct super_block *sb) { if (!(sb->s_flags & MS_RDONLY)) { lock_super(sb); @@ -2074,7 +2059,7 @@ } } -int ext3_remount (struct super_block * sb, int * flags, char * data) +static int ext3_remount (struct super_block * sb, int * flags, char * data) { struct ext3_super_block * es; struct ext3_sb_info *sbi = EXT3_SB(sb); @@ -2146,7 +2131,7 @@ return 0; }...