projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55b02d7
)
[XFS] handle error returns from freeze_bdev
author
Christoph Hellwig
<hch@sgi.com>
Fri, 25 Nov 2005 05:41:47 +0000
(16:41 +1100)
committer
Nathan Scott
<nathans@sgi.com>
Fri, 25 Nov 2005 05:41:47 +0000
(16:41 +1100)
SGI-PV: 945483
SGI-Modid: xfs-linux-melb:xfs-kern:
201884a
Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/xfs_fsops.c
patch
|
blob
|
history
diff --git
a/fs/xfs/xfs_fsops.c
b/fs/xfs/xfs_fsops.c
index 7ceabd0e2d9d93c0abd771855efa245e86454e91..d1236d6f40455c96d188463c188dee42502447db 100644
(file)
--- a/
fs/xfs/xfs_fsops.c
+++ b/
fs/xfs/xfs_fsops.c
@@
-550,7
+550,7
@@
xfs_fs_goingdown(
struct vfs *vfsp = XFS_MTOVFS(mp);
struct super_block *sb = freeze_bdev(vfsp->vfs_super->s_bdev);
- if (sb) {
+ if (sb
&& !IS_ERR(sb)
) {
xfs_force_shutdown(mp, XFS_FORCE_UMOUNT);
thaw_bdev(sb->s_bdev, sb);
}