[XFS] Fix realtime subvolume expansion, a porting bug b0rked it. Coverity
authorEric Sesterhenn <snakebyte@gmx.de>
Tue, 27 Jun 2006 22:42:26 +0000 (08:42 +1000)
committerNathan Scott <nathans@sgi.com>
Tue, 27 Jun 2006 22:42:26 +0000 (08:42 +1000)
commit73024cf11522c0233228453984b2a2b37885e336
treea779d55555711b23459510f99e321e36e1e69e3c
parent97dfd70c8958a634157e0b35711cca01ff6f959b
[XFS] Fix realtime subvolume expansion, a porting bug b0rked it.  Coverity
made me look at this code (bug id #344). We only return with
XFS_ERROR(EINVAL) if mp->m_rtdev_targp is valid and pass it otherwise to
xfs_read_buf() where some function calls later it gets dereferenced by an
assert.

SGI-PV: 954266
SGI-Modid: xfs-linux-melb:xfs-kern:26363a

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/xfs_rtalloc.c