OSDN Git Service

ufs_inode_get{frag,block}(): consolidate success exits
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 19 Jun 2015 04:10:00 +0000 (00:10 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 6 Jul 2015 21:39:55 +0000 (17:39 -0400)
commitbbb3eb9d3432ce55a620778ecf5670fa7942090e
tree48680d5446f2c4c7df7492a66f2e7cf6d57ab719
parent71dd42846ffb2bd1a90e9ac2c52df0cc2ed92307
ufs_inode_get{frag,block}(): consolidate success exits

These calling conventions are rudiments of pre-2.3 times; they
really need to be sanitized.  This is the first step; next
will be _always_ returning a block number, instead of this
"return a pointer to buffer_head, except when we get to the
actual data" crap.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ufs/inode.c