summaryrefslogtreecommitdiff
path: root/fs/freevxfs/vxfs_bmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/freevxfs/vxfs_bmap.c')
-rw-r--r--fs/freevxfs/vxfs_bmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/freevxfs/vxfs_bmap.c b/fs/freevxfs/vxfs_bmap.c
index e85222892038..1b8216eb1d90 100644
--- a/fs/freevxfs/vxfs_bmap.c
+++ b/fs/freevxfs/vxfs_bmap.c
@@ -227,7 +227,8 @@ vxfs_bmap_typed(struct inode *ip, long iblock)
return 0;
}
default:
- BUG();
+ WARN_ON_ONCE(1);
+ return 0;
}
}