Hoist the per-inode invalidation up into a function because we're about to add invalidating dentries in parent directories. This should result in no functional change. Signed-off-by: Zach Brown <zab@versity.com>