Whamcloud - gitweb
1)cleanup smfs for build in 2.6
[fs/lustre-release.git] / lustre / llite / namei.c
index a16814b..4b1efe3 100644 (file)
@@ -87,10 +87,6 @@ static int ll_test_inode(struct inode *inode, void *opaque)
 
         if (ll_i2info(inode)->lli_mds != md->body->mds)
                 return 0;
-#ifdef CONFIG_SNAPFS
-        if (ll_i2info(inode)->lli_snap_index != md->body->fid1.snap_index)
-                return 0;
-#endif
         /* Apply the attributes in 'opaque' to this inode */
         ll_update_inode(inode, md);
         return 1;