locks: have flock_lock_file take an inode pointer instead of a filp