diff options
author | Jan Engelhardt <jengelh@gmx.de> | 2006-06-25 12:47:36 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 17:01:05 (GMT) |
commit | a04ee14636fa339c4609766bd6173629d4f9026e (patch) | |
tree | 2a0e960d35f9cc586d128578adbf4a11aac45e40 /fs/file.c | |
parent | 515decdccf81cfbf5273d7f0085aea954ecd26c4 (diff) | |
download | linux-fsl-qoriq-a04ee14636fa339c4609766bd6173629d4f9026e.tar.xz |
[PATCH] openpromfs: factorize out
"Move" "common code" out to PTR_NOD, which does the conversion from private
pointer to node number. This is to reduce potential casting/conversion errors
due to redundancy. (The naming PTR_NOD follows PTR_ERR, turning a pointer
into xyz.)
[akpm@osdl.org: cleanups]
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions