]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
re-export alloc_file()
authorRoland Dreier <rdreier@cisco.com>
Wed, 16 Dec 2009 20:43:11 +0000 (12:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 21:29:19 +0000 (13:29 -0800)
commit73efc4681cb5e3c8807daf106f001e7f0798d8a0
tree8302ec91e3410912081c8468b54e97acfae0ac95
parenta73611b6aafa3b902524dad2d68e378c4ec9f4db
re-export alloc_file()

Commit 3d1e4631 ("get rid of init_file()") removed the export of
alloc_file() -- possibly inadvertently, since that commit mainly
consisted of deleting the lines between the end of alloc_file() and
the start of the code in init_file().

There is in fact one modular use of alloc_file() in the tree, in
drivers/infiniband/core/uverbs_main.c, so re-add the export to fix:

    ERROR: "alloc_file" [drivers/infiniband/core/ib_uverbs.ko] undefined!

when CONFIG_INFINIBAND_USER_ACCESS=m.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/file_table.c