Whamcloud - gitweb
Minor cleanup.
authoradilger <adilger>
Fri, 18 Oct 2002 17:51:54 +0000 (17:51 +0000)
committeradilger <adilger>
Fri, 18 Oct 2002 17:51:54 +0000 (17:51 +0000)
lustre/llite/file.c

index 370baac..23c5edd 100644 (file)
@@ -54,7 +54,7 @@ int ll_create_objects(struct super_block *sb, obd_id id, uid_t uid, gid_t gid,
         obdo_free(oa);
 
         if (!rc)
-                LASSERT((*lsmp)->lsm_object_id);
+                LASSERT(*lsmp && (*lsmp)->lsm_object_id);
         RETURN(rc);
 }