oprofile: Remove duplicate code around __oprofilefs_create_file()
authorRobert Richter <robert.richter@amd.com>
Thu, 19 Aug 2010 08:50:26 +0000 (10:50 +0200)
committerRobert Richter <robert.richter@amd.com>
Mon, 4 Oct 2010 08:55:24 +0000 (10:55 +0200)
commit4fdaa7b682b413dfb7ca9fa74ff45b1e0cb3dade
treedbd363d92dde1eca2da778e50c03b7c49159dc4d
parentdc0c22b878a60373762495b8e5628a32c1b80ac4
oprofile: Remove duplicate code around __oprofilefs_create_file()

Removing duplicate code by assigning the inodes private data pointer
in __oprofilefs_create_file(). Extending the function interface to
pass the pointer.

Signed-off-by: Robert Richter <robert.richter@amd.com>
drivers/oprofile/oprofilefs.c