From: Al Viro Date: Fri, 19 Jun 2015 18:27:10 +0000 (-0400) Subject: ufs_inode_get{frag,block}(): get rid of 'phys' argument X-Git-Tag: omap-for-v4.3/fixes-rc1~80^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e317ce73aecb735f389ab0d42ae3197a55265e4;p=pandora-kernel.git ufs_inode_get{frag,block}(): get rid of 'phys' argument Just pass NULL as locked_page in case of first block in the indirect chain. Old calling conventions aside, a reason for having 'phys' was that ufs_inode_getfrag() used to be able to do _two_ allocations - indirect block and extending/reallocating a tail. We needed locked_page for the latter (it's a data), but we also needed to figure out that indirect block is metadata. So we used to pass non-NULL locked_page in all cases *and* used NULL phys as indication of being asked to allocate an indirect. With tail unpacking taken into a separate function we don't need those convolutions anymore. Signed-off-by: Al Viro --- Reading git-diff-tree failed