linux-kernel mailing list

FromSubjectsort iconDate
Peter Williams
[PATCH] sched: Rationalize sys_sched_rr_get_interval()
At the moment, static_prio_timeslice() is only used in sys_sched_rr_get_interval() and only gives the correct result for SCHED_FIFO and SCHED_RR tasks as the time slice for normal tasks is unrelated to the values returned by static_prio_timeslice(). This patch addresses this problem and in the process moves all the code associated with static_prio_timeslice() to sched_rt.c which is the only place where it now has relevance. Signed-off-by: Peter Williams <pwil3058@bigpond.net.au> Pet...
Oct 10, 8:37 pm 2007
Peter Williams
[PATCH] sched: Exclude SMP code from non SMP builds
At the moment, a lot of load balancing code that is irrelevant to non SMP systems gets included during non SMP builds. This patch addresses this issue and should reduce the binary size on non SMP systems. This patch assumes that the "sched: Reduce overhead in balance_tasks()" (non urgent) patch that I sent on the 15th of August has been applied. Signed-off-by: Peter Williams <pwil3058@bigpond.net.au> Peter -- Peter Williams pwil3058@bigpond.net.au...
Oct 10, 8:29 pm 2007
Bryan Wu
[GIT PULL] Blackfin updates for 2.6.24
Hi Linus, (previous email including the whole patch set is too big for the LKML, then here is the new one) This set of commits are for Blackfin architecture updates for 2.6.24 merge window, only thing related with Blackfin arch and some drivers will be sent out later for LKML review - Blackfin arch anomaly updates - GPIO pinmux updates - hardware tracing - rewrite reboot code - add earlyprintk support - bug fixing and code cleanup Please pull from 'for-linus' branch of master.kern...
Oct 10, 11:31 pm 2007
poison
linux-2.6.23 - acting funny
Hi :) I have two harddisks with encfs on top of reiserfs between which I could copy data at ~22MB/s before the upgrade from 2.6.22 to 2.6.23. After the upgrade the transfer rate stuck at ~14MB/s and changing nice values did not help anything. And now the funny part: I noticed the transfer rate go up to ~20MB/s when I startet compiling stuff. I just need to run a CPU hog like: while true; do echo test > /dev/null; done and the transfer rate jumps from ~14MB/s to ~20MB/s. top shows the...
Oct 10, 10:30 pm 2007
Huang, Ying
[PATCH 1/2 -mm] kexec based hibernation -v5: kexec jump
This patch implements the functionality of jumping between the kexeced kernel and the original kernel. A new flag for sys_kexec_load named KEXEC_JUMP_BACK is added to indicate that the loaded kernel image is used for jumping back. To support jumping between two kernels, before jumping to (executing) the new kernel and jumping back to the original kernel, the devices are put into quiescent state, and the state of devices and CPU is saved. After jumping back from kexeced kernel and jumping to the n...
Oct 10, 10:14 pm 2007
Maxim Levitsky
[QUESTION] I need advice for writing .suspend/.resume functi...
Hi, I have few questions about .suspend()/.resume() driver functions and how best to write them. I have written a support for suspend/resume for saa7134 v4l driver. Now looking at code again and again, I found few problems, and I am seeking your advice how to fix them. First of all the .suspend() function: Looking at various drivers (including v4l ones) it seems that in general the function: 1) tells upper layers that it is suspended 2) saves the state of device (generally there is nothing...
Oct 10, 11:13 pm 2007
Huang, Ying
[PATCH 0/2 -mm] kexec based hibernation -v5
Kexec base hibernation has some potential advantages over uswsusp and TuxOnIce (suspend2). Some most obvious advantages are: 1. The hibernation image size can exceed half of memory size easily. 2. The hibernation image can be written to and read from almost anywhere, such as USB disk, NFS. 3. It is possible to eliminate freezer from kexec based hibernation implementation. 4. Based on kexec/kdump implementation, the kernel code needed is less. The hibernation procedure with the ...
Oct 10, 10:13 pm 2007
Huang, Ying
[PATCH 2/2 -mm] kexec based hibernation -v5: kexec restore
This patch adds writing support for /dev/oldmem. This is used to restore the memory contents of hibernated system. Signed-off-by: Huang Ying <ying.huang@intel.com> --- Index: linux-2.6.23-rc6/arch/i386/kernel/crash_dump.c =================================================================== --- linux-2.6.23-rc6.orig/arch/i386/kernel/crash_dump.c 2007-09-28 09:46:22.000000000 +0800 +++ linux-2.6.23-rc6/arch/i386/kernel/crash_dump.c 2007-09-28 09:46:25.000000000 +0800 @@ -58,6 +58,33 @@ r...
Oct 10, 10:14 pm 2007
Jacky(GuangXiang Lee)
(No subject)
subscribe linux-kernel end -
Oct 10, 9:26 pm 2007
Robert Hancock
Re: Marvell's 88SE6121 SATA driver in Kernel 2.4
There were some libata backports to 2.4, but I think they are quite out of date now and lacking many bug fixes. It would be far better to upgrade to 2.6 for SATA support. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/ -
Oct 10, 8:25 pm 2007
Russ Dill
Re: [OT] Argument with an OS professor over profile=3
Crap, sorry, accidentally sent a version I had laying around demonstrating how one *would* get the answer he expects. The correct line is of course: prof_len = (unsigned long) &_etext - (unsigned long) &_stext; -
Oct 10, 8:13 pm 2007
Jan Engelhardt
Re: [OT] Argument with an OS professor over profile=3
Uh, that's some evil pointer arithmetic :) -
Oct 10, 8:17 pm 2007
Russ Dill
[OT] Argument with an OS professor over profile=3
I've been having a back and forth going for a while with my TA and OS professor on the meaning of profile=3 and have been unable to convince either of them. The basic question is if profile=3 is passed to kernel with an 8MB text section, how big is the allocated profile buffer. His answer is 1MB.... if (prof_shift) { unsigned int size; /* only text is profiled */ prof_len = (unsigned *) &_etext - (unsigned *) &_stext; ...
Oct 10, 8:08 pm 2007
David Newall
Re: [OT] Argument with an OS professor over profile=3
You stipulated 8MB text, but this calculates in unsigned ints, so I'm with your Prof. Perhaps you missed that prof_len counts integers, not bytes. -
Oct 10, 9:36 pm 2007
Russ Dill
Re: [OT] Argument with an OS professor over profile=3
Please have a look at my followup, I accidentally sent out code that I had used to produce an answer as my prof thought it works. The actual code casts to (unsigned long). Sigh, I've shot myself in the foot... Anyway, the book (and the class covers 2.4.1) and the associated code has since moved from init/main.c. Here's how the 2.4.1ish code looks: http://tldp.org/HOWTO/Linux-i386-Boot-Code-HOWTO/init_main.html -
Oct 10, 9:50 pm 2007
Philippe
[PATCH] AVR32: Fix random segfault with preemption
As explained on: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=53307 If the current process is preempted before it can copy RAR_SUP and RSR_SUP both register are lost and the process will segfault as soon as it return from the syscall since the return adress will be corrupted. This patch disable IRQ as soon as we enter the syscall path and reenable them when the copy is done. In the interrupt handlers, check if we are interrupting the srrf instruction, if so disa...
Oct 10, 6:52 pm 2007
Rob Landley
[PATCH] Make m68k cross compile like every other architecture.
From: Rob Landley <rob@landley.net> Rip out hardwired cross compiler name assumption that only m68k makes. Signed-off-by: Rob Landley <rob@landley.net> --- When you cross compile, you have to set the prefix CROSS_COMPILE to your cross compiler prefix. You need to do this for all targets (arm, mips, ppc, x86-64 on x86, etc). This is not specific to m68k, and this value is supplied _to_ the build, not supplied _by_ the build. The build shouldn't unconditionally overwrite the existi...
Oct 10, 6:22 pm 2007
Rob Landley
m68k Kconfig undefined symbol in 2.6.23.
The m68k Kconfig tries to select a symbol (APM_EMULATION) that doesn't exist. I did this to fix it, without really understanding the larger problem. (Did APM go away?) Just FYI... Rob diff -r 79f0ea1e0e70 drivers/macintosh/Kconfig --- a/drivers/macintosh/Kconfig Tue Oct 09 21:00:40 2007 +0000 +++ b/drivers/macintosh/Kconfig Wed Oct 10 17:17:07 2007 -0500 @@ -116,11 +116,6 @@ config PMAC_SMU on the "SMU" system control chip which replaces the old PMU. If you don't know, say Y. -...
Oct 10, 6:19 pm 2007
Mauro Carvalho Chehab
[GIT PATCHES] V4L/DVB changes for 2.6.24
Linus, Please pull from: ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git master We have 300+ patches this time, covering lots of drivers improvements and fixes. Also, there are several core changes: - Unified support for Hybrid tuners on both V4L and DVB core; - videobuf split into PCI DMA S/G specific and a generic module; - added a videobuf handler for drivers that need vmalloc'ed memory like USB devices). And some driver additions: - cx23885 driver; ...
Oct 10, 5:50 pm 2007
Markus Rechberger
Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2...
the chances of the em28xx are not accepted from my side since the latest code which supports way more hardware is offtree for various reasons. The em28xx which is maintained from my side is far ahead what's in the kernel at the moment. There is some advanced code available which pulls away the dependency from v4l-dvb of several modules. I will provide a patch for upstream within the next 2-3 days. The em28xx driver which is in the kernel only supports analogue TV. Although the hardware is cap...
Oct 10, 7:00 pm 2007
Linus Torvalds
Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2...
Well, I've talked to various people, and none of the main kernel people end up being at all interested in a kernel that has external dependencies on binary blobs for tuners. So right now it seems like while I would personally want to have more vendors supprt their own drivers, if that in this case means that we'd have to have user-space and unmaintainable binaries to tune the cards, everybody seems to hate that idea. As such, the old and decrepit em28xx driver seems more useful to peo...
Oct 10, 7:42 pm 2007
Andrew Morton
Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2...
On Thu, 11 Oct 2007 01:00:39 +0200 "Markus Rechberger" <mrechberger@gmail.com> wrote: Please don't send 900 line emails to which you have added only an additional Until your attempt to get the userspace-driver work merged into the kernel is successful (and from my reading of last month's discussion it is nowhere near that), we should continue to maintain the present driver. If you choose to not participate in that maintenance then others will need to do their best in this regard. What ...
Oct 10, 7:36 pm 2007
Markus Rechberger
Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2...
To point to more changes within the available driver which hasn't been merged within the last 1 1/2 years: * it supports non usbaudio based video devices. * has support for dvb-t/atsc * allows multiple device node access in case of analogue TV * has teletext/VBI support for PAL. * it supports modules which are now in userspace instead of kernelspace due disagreements with some developers for 1 1/2 years. * I do not agree with certain developers who do not have any experience with certain parts of...
Oct 10, 7:24 pm 2007
Chuck Ebbert
Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2...
Do you plan on maintaining your own private driver tree for all of eternity? -
Oct 10, 7:35 pm 2007
David Howells
[PATCH 00/31] Remove iget() and read_inode() [try #3]
Hi Christoph, Al, Here's a set of patches that remove all calls to iget() and all read_inode() functions. They should be removed for two reasons: firstly they don't lend themselves to good error handling, and secondly their presence is a temptation for code outside a filesystem to call iget() to access inodes within that filesystem. There are a few benefits to this: (1) Error handling gets simpler as you can return an error code rather than having to call is_bad_inode(). (2) You...
Oct 10, 5:43 pm 2007
David Howells
[PATCH 28/31] IGET: Stop OPENPROMFS from using iget() and re...
Stop the OPENPROMFS filesystem from using iget() and read_inode(). Replace openpromfs_read_inode() with openpromfs_iget(), and call that instead of iget(). openpromfs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. openpromfs_fill_super() returns any error incurred when getting the root inode instead of ENOMEM (not that it currently incurs any other error). Signed-off-by: David Howells <dhowells@redhat.com> --- fs/o...
Oct 10, 5:45 pm 2007
David Howells
[PATCH 29/31] IGET: Stop HOSTFS from using iget() and read_i...
Stop the HOSTFS filesystem from using iget() and read_inode(). Provide hostfs_iget(), and call that instead of iget(). hostfs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. hostfs_fill_sb_common() returns any error incurred when getting the root inode instead of EINVAL. Note that the contents of hostfs_kern.c need to be examined: (*) hostfs_iget() should perhaps subsume init_inode() and hostfs_read_inode(). (*) It wou...
Oct 10, 5:45 pm 2007
David Howells
[PATCH 31/31] IGET: Remove iget() and the read_inode() super...
Remove the old iget() call and the read_inode() superblock operation it uses as these are really obsolete, and the use of read_inode() does not produce proper error handling (no distinction between ENOMEM and EIO when marking an inode bad). Furthermore, this removes the temptation to use iget() to find an inode by number in a filesystem from code outside that filesystem. iget_locked() should be used instead. A new function is added in an earlier patch (iget_failed) that is to be called to mark a...
Oct 10, 5:45 pm 2007
David Howells
[PATCH 30/31] IGET: Stop HPPFS from using iget() and read_in...
Stop the HPPFS filesystem from using iget() and read_inode(). Provide an hppfs_iget(), and call that instead of iget(). hppfs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. hppfs_fill_sb_common() returns any error incurred when getting the root inode instead of EINVAL. Note that the contents of hppfs_kern.c need to be examined: (*) The HPPFS inode retains a pointer to the proc dentry it is shadowing, but whilst it d...
Oct 10, 5:45 pm 2007
David Howells
[PATCH 25/31] IGET: Stop ROMFS from using iget() and read_in...
Stop the ROMFS filesystem from using iget() and read_inode(). Replace romfs_read_inode() with romfs_iget(), and call that instead of iget(). romfs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. romfs_fill_super() returns any error incurred when getting the root inode instead of EINVAL. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/romfs/inode.c | 45 +++++++++++++++++++++++++++++++-------------- 1 fil...
Oct 10, 5:45 pm 2007
David Howells
[PATCH 27/31] IGET: Stop UFS from using iget() and read_inod...
Stop the UFS filesystem from using iget() and read_inode(). Replace ufs_read_inode() with ufs_iget(), and call that instead of iget(). ufs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. ufs_fill_super() returns any error incurred when getting the root inode instead of EINVAL. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/ufs/inode.c | 34 ++++++++++++++++++++-------------- fs/ufs/namei.c ...
Oct 10, 5:45 pm 2007
David Howells
[PATCH 26/31] IGET: Stop the SYSV filesystem from using iget...
Stop the SYSV filesystem from using iget() and read_inode(). Replace sysv_read_inode() with sysv_iget(), and call that instead of iget(). sysv_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/sysv/inode.c | 25 ++++++++++++++++--------- fs/sysv/namei.c | 6 +++--- fs/sysv/super.c | 4 ++-- fs/sysv/sysv.h | 1 + 4 files changed, 22 insertions(+), 14 ...
Oct 10, 5:45 pm 2007
David Howells
[PATCH 23/31] IGET: Stop PROCFS from using iget() and read_i...
Stop the PROCFS filesystem from using iget() and read_inode(). Merge procfs_read_inode() into procfs_get_inode(), and have that call iget_locked() instead of iget(). Signed-off-by: David Howells <dhowells@redhat.com> --- fs/proc/inode.c | 60 ++++++++++++++++++++++++++----------------------------- 1 files changed, 28 insertions(+), 32 deletions(-) diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 0e4d37c..7a563c5 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -78,11 +78,...
Oct 10, 5:45 pm 2007
David Howells
[PATCH 24/31] IGET: Stop QNX4 from using iget() and read_ino...
Stop the QNX4 filesystem from using iget() and read_inode(). Replace qnx4_read_inode() with qnx4_iget(), and call that instead of iget(). qnx4_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. qnx4_fill_super() returns any error incurred when getting the root inode instead of EINVAL. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/qnx4/inode.c | 45 ++++++++++++++++++++++++++++++--------------- fs/...
Oct 10, 5:45 pm 2007
David Howells
[PATCH 22/31] IGET: Stop the MINIX filesystem from using ige...
Stop the MINIX filesystem from using iget() and read_inode(). Replace minix_read_inode() with minix_iget(), and call that instead of iget(). minix_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. minix_fill_super() returns any error incurred when getting the root inode instead of EINVAL. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/minix/inode.c | 43 +++++++++++++++++++++++++++++-------------- fs/mini...
Oct 10, 5:45 pm 2007
David Howells
[PATCH 21/31] IGET: Stop JFS from using iget() and read_inod...
Stop the JFS filesystem from using iget() and read_inode(). Replace jfs_read_inode() with jfs_iget(), and call that instead of iget(). jfs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. jfs_fill_super() returns any error incurred when getting the root inode instead of EINVAL. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com> --- fs/jfs/inode.c | 20 ++...
Oct 10, 5:44 pm 2007
David Howells
[PATCH 19/31] IGET: Stop ISOFS from using read_inode() [try ...
Stop the ISOFS filesystem from using read_inode(). Make isofs_read_inode() return an error code, and make isofs_iget() pass it on. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/isofs/inode.c | 25 +++++++++++++++++-------- 1 files changed, 17 insertions(+), 8 deletions(-) diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c index 043b470..28d990b 100644 --- a/fs/isofs/inode.c +++ b/fs/isofs/inode.c @@ -54,7 +54,7 @@ static void isofs_put_super(struct super_block *sb) ret...
Oct 10, 5:44 pm 2007
David Howells
[PATCH 20/31] IGET: Stop JFFS2 from using iget() and read_in...
Stop the JFFS2 filesystem from using iget() and read_inode(). Replace jffs2_read_inode() with jffs2_iget(), and call that instead of iget(). jffs2_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. jffs2_do_fill_super() returns any error incurred when getting the root inode instead of EINVAL. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/jffs2/dir.c | 6 +++-- fs/jffs2/fs.c | 56 ++++++++++++...
Oct 10, 5:44 pm 2007
David Howells
[PATCH 18/31] IGET: Stop HFSPLUS from using iget() and read_...
Stop the HFSPLUS filesystem from using iget() and read_inode(). Replace hfsplus_read_inode() with hfsplus_iget(), and call that instead of iget(). hfsplus_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. hfsplus_fill_super() returns any error incurred when getting the root inode. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/hfsplus/btree.c | 6 ++++-- fs/hfsplus/dir.c | 6 +++--- fs/hfs...
Oct 10, 5:44 pm 2007
David Howells
[PATCH 17/31] IGET: Stop FUSE from using iget() and read_ino...
Stop the FUSE filesystem from using read_inode(), which it doesn't use anyway. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/fuse/inode.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index 5448f62..2986654 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c @@ -73,11 +73,6 @@ static void fuse_destroy_inode(struct inode *inode) kmem_cache_free(fuse_inode_cachep, inode); } -static void fuse_read_inode(s...
Oct 10, 5:44 pm 2007
David Howells
[PATCH 16/31] IGET: Stop FreeVXFS from using iget() and read...
Stop the FreeVXFS filesystem from using iget() and read_inode(). Replace vxfs_read_inode() with vxfs_iget(), and call that instead of iget(). vxfs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. vxfs_fill_super() returns any error incurred when getting the root inode instead of EINVAL. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/freevxfs/vxfs_extern.h | 2 +- fs/freevxfs/vxfs_inode.c | 45 +++++++...
Oct 10, 5:44 pm 2007
David Howells
[PATCH 15/31] IGET: Stop FAT from using iget() and read_inod...
Stop the FAT filesystem from using iget() and read_inode(). Replace the call to iget() with a call to ilookup(). Signed-off-by: David Howells <dhowells@redhat.com> --- fs/fat/inode.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 960ed3d..9ae2e9f 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -629,8 +629,6 @@ static const struct super_operations fat_sops = { .clear_inode = fat_clear_inode, .remount_fs = fa...
Oct 10, 5:44 pm 2007
David Howells
[PATCH 14/31] IGET: Stop EXT4 from using iget() and read_ino...
Stop the EXT4 filesystem from using iget() and read_inode(). Replace ext4_read_inode() with ext4_iget(), and call that instead of iget(). ext4_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. ext4_fill_super() returns any error incurred when getting the root inode instead of EINVAL. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: "Theodore Ts'o" <tytso@mit.edu> Acked-by: Jan Kara <jack@suse.cz> ...
Oct 10, 5:44 pm 2007
David Howells
[PATCH 13/31] IGET: Stop EXT3 from using iget() and read_ino...
Stop the EXT3 filesystem from using iget() and read_inode(). Replace ext3_read_inode() with ext3_iget(), and call that instead of iget(). ext3_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. ext3_fill_super() returns any error incurred when getting the root inode instead of EINVAL. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: "Theodore Ts'o" <tytso@mit.edu> Acked-by: Jan Kara <jack@suse.cz> ...
Oct 10, 5:44 pm 2007
David Howells
[PATCH 11/31] IGET: Stop EFS from using iget() and read_inod...
Stop the EFS filesystem from using iget() and read_inode(). Replace efs_read_inode() with efs_iget(), and call that instead of iget(). efs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. efs_fill_super() returns any error incurred when getting the root inode instead of EACCES. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/efs/inode.c | 25 +++++++++++++++++-------- fs/efs/namei.c | 23...
Oct 10, 5:44 pm 2007
David Howells
[PATCH 12/31] IGET: Stop EXT2 from using iget() and read_ino...
Stop the EXT2 filesystem from using iget() and read_inode(). Replace ext2_read_inode() with ext2_iget(), and call that instead of iget(). ext2_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. ext2_fill_super() returns any error incurred when getting the root inode instead of EINVAL. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext2/ext2.h | 2 +- fs/ex...
Oct 10, 5:44 pm 2007
David Howells
[PATCH 09/31] IGET: Stop BFS from using iget() and read_inod...
Stop the BFS filesystem from using iget() and read_inode(). Replace bfs_read_inode() with bfs_iget(), and call that instead of iget(). bfs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. bfs_fill_super() returns any error incurred when getting the root inode instead of EINVAL. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/bfs/bfs.h | 2 ++ fs/bfs/dir.c | 6 +++--- fs/bfs/inode.c | 32 +++++++...
Oct 10, 5:43 pm 2007
Roel Kluin
Re: [PATCH 09/31] IGET: Stop BFS from using iget() and read_...
It is very well possible that I misunderstand the locking order here, but FWIW: -
Oct 10, 8:54 pm 2007
David Howells
[PATCH 08/31] IGET: Stop BEFS from using iget() and read_ino...
Stop the BEFS filesystem from using iget() and read_inode(). Replace befs_read_inode() with befs_iget(), and call that instead of iget(). befs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. befs_fill_super() returns any error incurred when getting the root inode instead of EINVAL. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Will Dyson <will_dyson@pobox.com> --- fs/befs/linuxvfs.c | 39 +++++...
Oct 10, 5:43 pm 2007
David Howells
[PATCH 10/31] IGET: Stop CIFS from using iget() and read_ino...
Stop the CIFS filesystem from using iget() and read_inode(). Replace cifs_read_inode() with cifs_iget(), and call that instead of iget(). cifs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. cifs_read_super() now returns any error incurred when getting the root inode instead of ENOMEM. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/cifs/cifsfs.c | 8 ++++---- fs/cifs/cifsfs.h | 1 + fs/cifs/inode.c...
Oct 10, 5:43 pm 2007
previous daytodaynext day
October 9, 2007October 10, 2007October 11, 2007