projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cd4a03
)
[XFS] Check if there is first behavior before calling VOP_RECLAIM from
author
Felix Blyakher
<felixb@sgi.com>
Sun, 4 Sep 2005 22:24:49 +0000
(08:24 +1000)
committer
Nathan Scott
<nathans@sgi.com>
Sun, 4 Sep 2005 22:24:49 +0000
(08:24 +1000)
linvfs_clear_inode(). The behavior may go away in VOP_INACTIVE.
SGI-PV: 941000
SGI-Modid: xfs-linux:xfs-kern:
197355a
Signed-off-by: Felix Blyakher <felixb@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/xfs_super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/linux-2.6/xfs_super.c
b/fs/xfs/linux-2.6/xfs_super.c
index 9b40a2799f7e6ac2f33b4acf32a54bc84e4812b7..cd3f8b3270ac8ce0228d993e76512445d25fda95 100644
(file)
--- a/
fs/xfs/linux-2.6/xfs_super.c
+++ b/
fs/xfs/linux-2.6/xfs_super.c
@@
-400,9
+400,11
@@
linvfs_clear_inode(
vp->v_flag &= ~VMODIFIED;
VN_UNLOCK(vp, 0);
- VOP_RECLAIM(vp, error);
- if (error)
- panic("vn_purge: cannot reclaim");
+ if (vp->v_fbhv) {
+ VOP_RECLAIM(vp, error);
+ if (error)
+ panic("vn_purge: cannot reclaim");
+ }
ASSERT(vp->v_fbhv == NULL);