dax: move put_(un)locked_mapping_entry() in dax.c
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Tue, 8 Nov 2016 00:33:44 +0000 (11:33 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 8 Nov 2016 00:33:44 +0000 (11:33 +1100)
commit422476c4641ec65906406f3d266b69a91dd3170c
tree2c519c1dcca3c877b91c0166fe0812b10b944915
parentfa28f7296a7ce38ed15dc06bd2149e04c8db9d4b
dax: move put_(un)locked_mapping_entry() in dax.c

No functional change.

The static functions put_locked_mapping_entry() and
put_unlocked_mapping_entry() will soon be used in error cases in
grab_mapping_entry(), so move their definitions above this function.

Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/dax.c