1. 26 3月, 2008 1 次提交
  2. 24 2月, 2008 1 次提交
  3. 15 2月, 2008 1 次提交
    • J
      Embed a struct path into struct nameidata instead of nd->{dentry,mnt} · 4ac91378
      Jan Blunck 提交于
      This is the central patch of a cleanup series. In most cases there is no good
      reason why someone would want to use a dentry for itself. This series reflects
      that fact and embeds a struct path into nameidata.
      
      Together with the other patches of this series
      - it enforced the correct order of getting/releasing the reference count on
        <dentry,vfsmount> pairs
      - it prepares the VFS for stacking support since it is essential to have a
        struct path in every place where the stack can be traversed
      - it reduces the overall code size:
      
      without patch series:
         text    data     bss     dec     hex filename
      5321639  858418  715768 6895825  6938d1 vmlinux
      
      with patch series:
         text    data     bss     dec     hex filename
      5320026  858418  715768 6894212  693284 vmlinux
      
      This patch:
      
      Switch from nd->{dentry,mnt} to nd->path.{dentry,mnt} everywhere.
      
      [akpm@linux-foundation.org: coding-style fixes]
      [akpm@linux-foundation.org: fix cifs]
      [akpm@linux-foundation.org: fix smack]
      Signed-off-by: NJan Blunck <jblunck@suse.de>
      Signed-off-by: NAndreas Gruenbacher <agruen@suse.de>
      Acked-by: NChristoph Hellwig <hch@lst.de>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Casey Schaufler <casey@schaufler-ca.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4ac91378
  4. 06 2月, 2008 18 次提交
  5. 28 1月, 2008 1 次提交
  6. 24 12月, 2007 1 次提交
  7. 18 12月, 2007 1 次提交
    • S
      uml: stop gdb from deleting breakpoints when running UML · 4dbed85a
      Stanislaw Gruszka 提交于
      Sometimes when UML is debugged gdb miss breakpoints.
      
      When process traced by gdb do fork, debugger remove breakpoints from
      child address space. There is possibility to trace more than one fork,
      but this not work with UML, I guess (only guess) there is a deadlock -
      gdb waits for UML and UML waits for gdb.
      
      When clone() is called with SIGCHLD and CLONE_VM flags, gdb see this
      as PTRACE_EVENT_FORK not as PTRACE_EVENT_CLONE and remove breakpoints
      from child and at the same time from traced process, because either
      have the same address space.
      
      Maybe it is possible to do fix in gdb, but I'm not sure if there is
      easy way to find out if traced and child processes share memory. So I
      do fix for UML, it simply do not call clone() with both SIGCHLD and
      CLONE_VM flags together.  Additionally __WALL flag is used for
      waitpid() to assure not miss clone and normal process events.
      
      [ jdike - checkpatch fixes ]
      Signed-off-by: NStanislaw Gruszka <stf_xl@wp.pl>
      Signed-off-by: NJeff Dike <jdike@linux.intel.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4dbed85a
  8. 11 12月, 2007 1 次提交
  9. 04 12月, 2007 1 次提交
  10. 30 11月, 2007 1 次提交
  11. 15 11月, 2007 1 次提交
  12. 06 11月, 2007 1 次提交
  13. 24 10月, 2007 1 次提交
    • W
      arch/um/drivers/ubd_kern.c: fix a building error · 23464ffa
      WANG Cong 提交于
      Fix this uml building error:
      arch/um/drivers/ubd_kern.c: In function 'do_ubd_request':
      arch/um/drivers/ubd_kern.c:1118: error: implicit declaration of function
      'sg_page'
      arch/um/drivers/ubd_kern.c:1118: warning: passing argument 6 of
      'prepare_request' makes pointer from integer without a cast
      make[1]: *** [arch/um/drivers/ubd_kern.o] Error 1
      make: *** [arch/um/drivers] Error 2
      Signed-off-by: NWANG Cong <xiyou.wangcong@gmail.com>
      
      Add sg_init_table() call as well.
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      23464ffa
  14. 23 10月, 2007 1 次提交
  15. 20 10月, 2007 1 次提交
  16. 18 10月, 2007 1 次提交
  17. 17 10月, 2007 7 次提交