Whamcloud - gitweb
Revert "b=22965 enable lockless truncate"
authorVitaly Fertman <vitaly.fertman@oracle.com>
Fri, 3 Dec 2010 19:49:06 +0000 (22:49 +0300)
committerVitaly Fertman <vitaly.fertman@oracle.com>
Fri, 3 Dec 2010 19:49:06 +0000 (22:49 +0300)
This reverts commit e768e65ce59b6294813b538f308049ae2cbe74a0.

lustre/osc/osc_dev.c

index a0216e3..8148b7a 100644 (file)
@@ -182,9 +182,6 @@ static const struct cl_device_operations osc_cl_ops = {
 static int osc_device_init(const struct lu_env *env, struct lu_device *d,
                            const char *name, struct lu_device *next)
 {
 static int osc_device_init(const struct lu_env *env, struct lu_device *d,
                            const char *name, struct lu_device *next)
 {
-        struct osc_device *od = lu2osc_dev(d);
-
-        od->od_lockless_truncate = 1;
         RETURN(0);
 }
 
         RETURN(0);
 }