diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-06-19 20:27:10 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-07-06 23:40:05 +0200 |
commit | 4e317ce73aecb735f389ab0d42ae3197a55265e4 (patch) | |
tree | 8df990e850decd6072c6595a1da0bb5731c2adda /fs/super.c | |
parent | ufs_getfrag_block(): tidy up a bit (diff) | |
download | linux-4e317ce73aecb735f389ab0d42ae3197a55265e4.tar.xz linux-4e317ce73aecb735f389ab0d42ae3197a55265e4.zip |
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 'fs/super.c')
0 files changed, 0 insertions, 0 deletions