Displaying 17 results from an estimated 17 matches for "lock_kernel".
2002 Apr 22
1
Re: [PATCH] open files in kjounald (2)
...he open files were gone.
Please apply this patch ASAP - thank you very much.
Regards,
Phil
diff -ru linux/fs/jbd/journal.c linux.ori/fs/jbd/journal.c
--- linux.ori/fs/jbd/journal.c Mon Apr 22 06:28:54 2002
+++ linux/fs/jbd/journal.c Mon Apr 22 06:29:16 2002
@@ -204,7 +204,6 @@
lock_kernel();
daemonize();
+ exit_files(current);
spin_lock_irq(¤t->sigmask_lock);
sigfillset(¤t->blocked);
recalc_sigpending(current);
2003 Jan 16
0
[PATCH] Using qstr in ext3_get_parent()
...->len;
+ const u8 *name = entry->name;
sb = dir->i_sb;
- if (!(frame = dx_probe (dentry, 0, &hinfo, frames, err)))
+ if (!(frame = dx_probe (entry, dir, &hinfo, frames, err)))
return NULL;
hash = hinfo.hash;
do {
@@ -936,7 +934,7 @@
return ERR_PTR(-ENAMETOOLONG);
lock_kernel();
- bh = ext3_find_entry(dentry, &de);
+ bh = ext3_find_entry(dir, &dentry->d_name, &de);
inode = NULL;
if (bh) {
unsigned long ino = le32_to_cpu(de->inode);
@@ -961,16 +959,15 @@
unsigned long ino;
struct dentry *parent;
struct inode *inode;
- struct dentry dotdot;...
2002 Dec 06
2
[patch] fix the ext3 data=journal unmount bug
...,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)
lock_kernel();
sync_inodes(dev);
DQUOT_SYNC(dev);
- sync_supers(dev);
+ sync_supers(dev, 1);
unlock_kernel();
return sync_buffers(dev, 1);
@@ -2833,7 +2835,7 @@ static int sync_old_buffers(void)
{
lock_kernel();
sync_unlocked_inode...
2001 May 16
1
Re: [linux-lvm] lvm deadlock with 2.4.x kernel?
...o again;
Stephen suggested something along the above a bit ago, except he uses
bh->b_jlist == BJ_None. buffer_journaled() seems to be a function in fs.h
which seems a bit more appropriate.
Next, with the above we'd still see problems. My next patch included a
suggestion from Heinz to add lock_kernel() and unlock_kernel() around the
fsync_dev() and invalidate_buffers() in lvm.c/lvm_do_pv_flush().
Currently I have this in my working kernel, I'm gonna try again without it
though, it seems that it shouldn't be necessary, the other block devices
I've looked at don't seem to lock the...
2003 Mar 06
0
Re: re problems with ext3 well if think it is
...fs/ext3/inode.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- 25/fs/ext3/inode.c~ext3-transaction-reserved-blocks Sat Dec 14 18:28:21 2002
+++ 25-akpm/fs/ext3/inode.c Sat Dec 14 18:28:21 2002
@@ -2698,7 +2698,7 @@ void ext3_dirty_inode(struct inode *inod
handle_t *handle;
lock_kernel();
- handle = ext3_journal_start(inode, 1);
+ handle = ext3_journal_start(inode, 2);
if (IS_ERR(handle))
goto out;
if (current_handle &&
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/
2002 Apr 22
3
[PATCH] open files in kjounald
...he open files were gone.
Please apply this patch ASAP - thank you very much.
Regards,
Phil
diff -ru linux/fs/jbd/journal.c linux.ori/fs/jbd/journal.c
--- linux/fs/jbd/journal.c Mon Apr 22 06:29:16 2002
+++ linux.ori/fs/jbd/journal.c Mon Apr 22 06:28:54 2002
@@ -204,7 +204,6 @@
lock_kernel();
daemonize();
- exit_files(current);
spin_lock_irq(¤t->sigmask_lock);
sigfillset(¤t->blocked);
recalc_sigpending(current);
2009 Jan 13
28
Warning and BUG with btrfs and corrupted image
...e5>] btrfs_get_sb+0x20c/0x3d3
[ 297.414913] [<c017888e>] ? kstrdup+0x2f/0x51
[ 297.415110] [<c0191558>] vfs_kern_mount+0x40/0x7b
[ 297.415242] [<c01915e1>] do_kern_mount+0x37/0xbf
[ 297.415401] [<c01a2c78>] do_mount+0x5cc/0x609
[ 297.415533] [<c07c6db3>] ? lock_kernel+0x19/0x8c
[ 297.415679] [<c01a2d0b>] ? sys_mount+0x56/0xa0
[ 297.415809] [<c01a2d1e>] sys_mount+0x69/0xa0
[ 297.415961] [<c0102ea1>] sysenter_do_call+0x12/0x31
[ 297.416145] ---[ end trace 4eaa2a86a8e2da24 ]---
[ 297.416621] BUG: unable to handle kernel NULL pointer derefe...
2005 Jan 04
0
[PATCH] BUG on error handlings in Ext3 under I/O failure condition
...d/journal.c 2005-01-04
19:58:32.000000000 +0900
@@ -582,8 +582,10 @@
* Wait for a specified commit to complete.
* The caller may not hold the journal lock.
*/
-void log_wait_commit (journal_t *journal, tid_t tid)
+int log_wait_commit (journal_t *journal, tid_t tid)
{
+ int err = 0;
+
lock_kernel();
#ifdef CONFIG_JBD_DEBUG
lock_journal(journal);
@@ -600,6 +602,12 @@
sleep_on(&journal->j_wait_done_commit);
}
unlock_kernel();
+
+ if (unlikely(is_journal_aborted(journal))) {
+ printk(KERN_EMERG "journal commit I/O error\n");
+ err = -EIO;
+ }
+ return err;
}...
2013 May 29
0
DAHDI-Linux and DAHDI-Tools 2.7.0-rc1 Now Available
...owed by a digit.
dahdi: Tear down conference links when conferences are emptied out.
dahdi: Restore DAHDI_CONFLINK functionality as compile time option.
dahdi: Give timers their own file_operations
dahdi: Decrease dahdi_timer_lock contention.
dahdi: Remove call to lock_kernel when calling unlocked_ioctl.
dahdi: Initialize the channels cdev structure.
sysfs: Remove signed one-bit fields.
dahdi: Trivial change of '__u32' -> 'u32' in struct dahdi_count.
dahdi: Move 'timingslips' in with the other maintenance counters....
2013 May 29
0
DAHDI-Linux and DAHDI-Tools 2.7.0-rc1 Now Available
...owed by a digit.
dahdi: Tear down conference links when conferences are emptied out.
dahdi: Restore DAHDI_CONFLINK functionality as compile time option.
dahdi: Give timers their own file_operations
dahdi: Decrease dahdi_timer_lock contention.
dahdi: Remove call to lock_kernel when calling unlocked_ioctl.
dahdi: Initialize the channels cdev structure.
sysfs: Remove signed one-bit fields.
dahdi: Trivial change of '__u32' -> 'u32' in struct dahdi_count.
dahdi: Move 'timingslips' in with the other maintenance counters....
2013 Jun 07
0
DAHDI-Linux and DAHDI-Tools 2.7.0 Now Available
...owed by a digit.
dahdi: Tear down conference links when conferences are emptied out.
dahdi: Restore DAHDI_CONFLINK functionality as compile time option.
dahdi: Give timers their own file_operations
dahdi: Decrease dahdi_timer_lock contention.
dahdi: Remove call to lock_kernel when calling unlocked_ioctl.
dahdi: Initialize the channels cdev structure.
sysfs: Remove signed one-bit fields.
dahdi: Trivial change of '__u32' -> 'u32' in struct dahdi_count.
dahdi: Move 'timingslips' in with the other maintenance counters....
2013 Jun 07
0
DAHDI-Linux and DAHDI-Tools 2.7.0 Now Available
...owed by a digit.
dahdi: Tear down conference links when conferences are emptied out.
dahdi: Restore DAHDI_CONFLINK functionality as compile time option.
dahdi: Give timers their own file_operations
dahdi: Decrease dahdi_timer_lock contention.
dahdi: Remove call to lock_kernel when calling unlocked_ioctl.
dahdi: Initialize the channels cdev structure.
sysfs: Remove signed one-bit fields.
dahdi: Trivial change of '__u32' -> 'u32' in struct dahdi_count.
dahdi: Move 'timingslips' in with the other maintenance counters....
2005 Nov 05
2
[PATCH 00/25] reduce code in fs/compat_ioctl.c
On S?nnavend 05 November 2005 00:51, Christoph Hellwig wrote:
> On Sat, Nov 05, 2005 at 12:10:46AM +0100, Arnd Bergmann wrote:
> >
> > BTW, I now have a set of 25 patches that moves all handlers from
> > fs/compat_ioctl.c over to the respective drivers and subsystems,
> > but I'm not sure how to best test that.
> > I intend to at least give it a test run on my
2005 Nov 05
2
[PATCH 00/25] reduce code in fs/compat_ioctl.c
On S?nnavend 05 November 2005 00:51, Christoph Hellwig wrote:
> On Sat, Nov 05, 2005 at 12:10:46AM +0100, Arnd Bergmann wrote:
> >
> > BTW, I now have a set of 25 patches that moves all handlers from
> > fs/compat_ioctl.c over to the respective drivers and subsystems,
> > but I'm not sure how to best test that.
> > I intend to at least give it a test run on my
2010 Oct 08
23
O2CB global heartbeat - hopefully final drop!
All,
This is hopefully the final drop of the patches for adding global heartbeat
to the o2cb stack.
The diff from the previous set is here:
http://oss.oracle.com/~smushran/global-hb-diff-2010-10-07
Implemented most of the suggestions provided by Joel and Wengang.
The most important one was to activate the feature only at the end,
Also, got mostly a clean run with checkpatch.pl.
Sunil
2006 Jul 26
5
linux-2.6-xen.hg
Hi,
Is the http://xenbits.xensource.com/linux-2.6-xen.hg tree still being
updated? if not, what''s the preferred Linux tree to track that has all
of the Xen bits?
Thanks,
Muli
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2008 Apr 02
10
[PATCH 0/62] Ocfs2 updates for 2.6.26-rc1
The following series of patches comprises the bulk of our outstanding
changes for Ocfs2.
Aside from the usual set of cleanups and fixes that were inappropriate for
2.6.25, there are a few highlights:
The '/sys/o2cb' directory has been moved to '/sys/fs/o2cb'. The new location
meshes better with modern sysfs layout. A symbolic link has been placed in
the old location so as to