Whamcloud - gitweb
- land b_hd_ver_recov
[fs/lustre-release.git] / lustre / include / linux / lustre_fsfilt.h
index 484d267..b9e01e6 100644 (file)
@@ -495,7 +495,7 @@ static inline __u64 fsfilt_set_version(struct obd_device *obd,
 static inline __u64 fsfilt_get_version(struct obd_device *obd,
                                        struct inode *inode)
 {
-        if (obd->obd_fsops->fs_set_version)
+        if (obd->obd_fsops->fs_get_version)
                 return obd->obd_fsops->fs_get_version(inode);
         return -EOPNOTSUPP;
 }