]> Git Repo - linux.git/commit - fs/proc/internal.h
proc: ->low_ino cleanup
authorAlexey Dobriyan <[email protected]>
Thu, 13 Jan 2011 01:00:33 +0000 (17:00 -0800)
committerLinus Torvalds <[email protected]>
Thu, 13 Jan 2011 16:03:16 +0000 (08:03 -0800)
commit6d1b6e4eff89475785f60fa00f65da780f869f36
tree41608a81f14b824c97b8d8f0849aff04bcf1f537
parent9d6de12f70d2fb1487c4f482a21fed25fe74e0fd
proc: ->low_ino cleanup

- ->low_ino is write-once field -- reading it under locks is unnecessary.

- /proc/$PID stuff never reaches pde_put()/free_proc_entry() --
   PROC_DYNAMIC_FIRST check never triggers.

- in proc_get_inode(), inode number always matches proc dir entry, so
  save one parameter.

Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/proc/generic.c
fs/proc/inode.c
fs/proc/internal.h
This page took 0.045791 seconds and 4 git commands to generate.