diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-06-19 14:27:10 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-07-06 17:40:05 -0400 |
commit | 4e317ce73aecb735f389ab0d42ae3197a55265e4 (patch) | |
tree | 8df990e850decd6072c6595a1da0bb5731c2adda /.gitignore | |
parent | 0385f1f9e3e5cb17047474037002500383237f47 (diff) |
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 <viro@zeniv.linux.org.uk>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions