locks: create posix-to-flock helper functions
authorJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 20 Feb 2007 21:10:11 +0000 (16:10 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 16 Apr 2007 17:40:37 +0000 (13:40 -0400)
commitc2fa1b8a6c059dd08a802545fed3badc8df2adc1
tree358b4a0dccc3d4662787732e7c760b6114daf3e9
parent226a998dbf3c6f9b85f67d08a52c5a2143ed9d88
locks: create posix-to-flock helper functions

Factor out a bit of messy code by creating posix-to-flock counterparts
to the existing flock-to-posix helper functions.

Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
fs/locks.c