From: Chao Yu Date: Thu, 30 Apr 2015 10:35:50 +0000 (+0800) Subject: f2fs: do not re-lookup nat cache with same nid X-Git-Tag: omap-for-v4.3/legacy-v2-signed~156^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5b692b786e1aea68d2c6737dd0abeebc1dad619;p=pandora-kernel.git f2fs: do not re-lookup nat cache with same nid In set_node_addr, we try to lookup cached nat entry of inode and then set flag in it. But previously in this function, we have already grabbed nat entry with current node id, if the node id is the same as the one of inode, we do not need to lookup it in cache again. So this patch adds condition judgment for reducing unneeded lookup. Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed