Whamcloud - gitweb
this is a large portion of the outstanding changes on b_ad, almost all
authorpschwan <pschwan>
Thu, 10 Jul 2003 18:43:26 +0000 (18:43 +0000)
committerpschwan <pschwan>
Thu, 10 Jul 2003 18:43:26 +0000 (18:43 +0000)
of which look trivial and readily acceptable to b_devel.  landing
first on b_unify to fix a few bugs and test more heavily

lustre/obdfilter/filter_san.c

index c535ccc..5345957 100644 (file)
@@ -75,7 +75,11 @@ int filter_san_preprw(int cmd, struct lustre_handle *conn, int objcount,
         for (i = 0; i < objcount; i++, o++) {
                 struct dentry *dentry;
                 struct inode *inode;
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+                sector_t (*fs_bmap)(struct address_space *, sector_t);
+#else
                 int (*fs_bmap)(struct address_space *, long);
+#endif
                 int j;
 
                 dentry = filter_fid2dentry(obd, NULL, o->ioo_type, o->ioo_id);