diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_aops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_aops.c b/fs/xfs/linux-2.6/xfs_aops.c index 80a321462315..c097e4e69768 100644 --- a/fs/xfs/linux-2.6/xfs_aops.c +++ b/fs/xfs/linux-2.6/xfs_aops.c | |||
@@ -161,6 +161,8 @@ xfs_setfilesize( | |||
161 | xfs_fsize_t bsize; | 161 | xfs_fsize_t bsize; |
162 | 162 | ||
163 | ip = xfs_vtoi(ioend->io_vnode); | 163 | ip = xfs_vtoi(ioend->io_vnode); |
164 | if (!ip) | ||
165 | return; | ||
164 | 166 | ||
165 | ASSERT((ip->i_d.di_mode & S_IFMT) == S_IFREG); | 167 | ASSERT((ip->i_d.di_mode & S_IFMT) == S_IFREG); |
166 | ASSERT(ioend->io_type != IOMAP_READ); | 168 | ASSERT(ioend->io_type != IOMAP_READ); |