Clean up FD support code
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 24 Jul 2015 20:39:11 +0000 (16:39 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 28 Jul 2015 23:57:18 +0000 (19:57 -0400)
commit1364445e6b90cbb7e673c1c93767bcb713b9b89f
tree8a019c41da1c107cf3b44389ae0a18ae23cf9ab7
parent5c2384e8c6109d57a1ab0cc7f0a59ea044cbe2ff
Clean up FD support code

All of the get_, put_ and claim_fd() functions are no longer called,
since they were part of the 9ns hack.

Also, there's no need for __claim_fd().  It does a similar job as
__get_fd(), and can be implemented within __get_fd() easily.
kern/include/vfs.h
kern/src/vfs.c