In nearly all cases the set_fs_{root,pwd}() calls work on a struct
path. Change the function to reflect this and use path_get() here.
Signed-off-by: Jan Blunck <[EMAIL PROTECTED]>
Signed-off-by: Andreas Gruenbacher <[EMAIL PROTECTED]>
---
fs/namespace.c| 26 -
* Add path_put() functions for releasing a reference to the dentry and
vfsmount of a struct path in the right order
* Switch from path_release(nd) to path_put(&nd->path)
* Rename dput_path() to path_put_conditional()
Signed-off-by: Jan Blunck <[EMAIL PROTECTED]>
Signed-off-by: Andreas Gruenbac
Use path_put() in a few places instead of {mnt,d}put()
Signed-off-by: Jan Blunck <[EMAIL PROTECTED]>
Signed-off-by: Andreas Gruenbacher <[EMAIL PROTECTED]>
---
fs/afs/mntpt.c |3 +--
fs/namei.c | 15 +--
2 files changed, 6 insertions(+), 12 deletions(-)
Index: b/fs/afs/mntp
* Use struct path in fs_struct.
Signed-off-by: Andreas Gruenbacher <[EMAIL PROTECTED]>
Signed-off-by: Jan Blunck <[EMAIL PROTECTED]>
---
fs/dcache.c | 31 +
fs/namei.c| 47 +-
fs/namespace.c|
This introduces the symmetric function to path_put() for getting a reference
to the dentry and vfsmount of a struct path in the right order.
Signed-off-by: Jan Blunck <[EMAIL PROTECTED]>
Signed-off-by: Andreas Gruenbacher <[EMAIL PROTECTED]>
---
fs/namei.c | 17 +++--
incl
The sound drivers and the pnpbios core test for current->root != NULL. This
test seems to be unnecessary since we always have rootfs mounted before
initializing the drivers.
Signed-off-by: Jan Blunck <[EMAIL PROTECTED]>
---
drivers/pnp/pnpbios/core.c |2 --
sound/core/seq/seq_clientmgr.c
This test seems to be unnecessary since we always have rootfs mounted before
calling a usermodehelper.
Signed-off-by: Andreas Gruenbacher <[EMAIL PROTECTED]>
Signed-off-by: Jan Blunck <[EMAIL PROTECTED]>
---
kernel/kmod.c |5 +
1 file changed, 1 insertion(+), 4 deletions(-)
Index: b/kern
Move the definition of struct path into its own header file for further
patches.
Signed-off-by: Jan Blunck <[EMAIL PROTECTED]>
Signed-off-by: Andreas Gruenbacher <[EMAIL PROTECTED]>
---
include/linux/namei.h |6 +-
include/linux/path.h | 12
2 files changed, 13 insertions(
path_release_on_umount() should only be called from sys_umount(). I merged the
function into sys_umount() instead of having in in namei.c.
Signed-off-by: Jan Blunck <[EMAIL PROTECTED]>
---
fs/namei.c| 10 --
fs/namespace.c|4 +++-
include/linux/namei.h |1 -
This is a respin of the patch series Andreas posted last month. It leaves out
the restructuring of the intent which will be done at a later point in time.
There are three preparing patches that remove unneeded code IMHO. I haven't
got feedback from Takashi since he is on holiday. Please, can someb
This patch improves oprofile callgraphs for i386/x86_64. The old backtracing
code was unable to produce even kernel backtraces if the kernel wasn't
compiled with framepointers. The code now uses dump_trace().
Signed-off-by: Jan Blunck <[EMAIL PROTECTED]>
---
arch/i386/oprofile/backtrace.c | 104
This patch defines frame_pointer() and stack_pointer() similar to the
already defined instruction_pointer(). Thus the oprofile code can be written
in a more readable fashion.
Signed-off-by: Jan Blunck <[EMAIL PROTECTED]>
---
arch/i386/oprofile/backtrace.c | 12 ++--
include/asm-i386/ptr
Here are two patches that should improve Oprofile callgraphs inside the kernel
for i386/x86_64. I already send them to the oprofile-list yesterday but they
are still waiting for moderator approval.
Cheers,
Jan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body o
13 matches
Mail list logo