dlmglue.c (8a517c514d5893602cf85c1b4c47afbbc04d2198) | dlmglue.c (8cb471e8f82506937fe5e2e9fb0bf90f6b1f1170) |
---|---|
1/* -*- mode: c; c-basic-offset: 8; -*- 2 * vim: noexpandtab sw=8 ts=8 sts=0: 3 * 4 * dlmglue.c 5 * 6 * Code which implements an OCFS2 specific interface to our DLM. 7 * 8 * Copyright (C) 2003, 2004 Oracle. All rights reserved. --- 2113 unchanged lines hidden (view full) --- 2122 } 2123 spin_unlock(&oi->ip_lock); 2124 2125 if (!ocfs2_should_refresh_lock_res(lockres)) 2126 goto bail; 2127 2128 /* This will discard any caching information we might have had 2129 * for the inode metadata. */ | 1/* -*- mode: c; c-basic-offset: 8; -*- 2 * vim: noexpandtab sw=8 ts=8 sts=0: 3 * 4 * dlmglue.c 5 * 6 * Code which implements an OCFS2 specific interface to our DLM. 7 * 8 * Copyright (C) 2003, 2004 Oracle. All rights reserved. --- 2113 unchanged lines hidden (view full) --- 2122 } 2123 spin_unlock(&oi->ip_lock); 2124 2125 if (!ocfs2_should_refresh_lock_res(lockres)) 2126 goto bail; 2127 2128 /* This will discard any caching information we might have had 2129 * for the inode metadata. */ |
2130 ocfs2_metadata_cache_purge(inode); | 2130 ocfs2_metadata_cache_purge(INODE_CACHE(inode)); |
2131 2132 ocfs2_extent_map_trunc(inode, 0); 2133 2134 if (ocfs2_meta_lvb_is_trustable(inode, lockres)) { 2135 mlog(0, "Trusting LVB on inode %llu\n", 2136 (unsigned long long)oi->ip_blkno); 2137 ocfs2_refresh_inode_from_lvb(inode); 2138 } else { --- 1824 unchanged lines hidden --- | 2131 2132 ocfs2_extent_map_trunc(inode, 0); 2133 2134 if (ocfs2_meta_lvb_is_trustable(inode, lockres)) { 2135 mlog(0, "Trusting LVB on inode %llu\n", 2136 (unsigned long long)oi->ip_blkno); 2137 ocfs2_refresh_inode_from_lvb(inode); 2138 } else { --- 1824 unchanged lines hidden --- |