-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
/*
* Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright (c) 2011, 2012, Whamcloud, Inc.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
return NULL;
inode_init_once(&lli->lli_vfs_inode);
- ll_lli_init(lli);
-
return &lli->lli_vfs_inode;
}
{
.alloc_inode = ll_alloc_inode,
.destroy_inode = ll_destroy_inode,
+#ifdef HAVE_SBOPS_EVICT_INODE
+ .evict_inode = ll_delete_inode,
+#else
.clear_inode = ll_clear_inode,
.delete_inode = ll_delete_inode,
+#endif
.put_super = ll_put_super,
.statfs = ll_statfs,
.umount_begin = ll_umount_begin,
struct timeval tv;
lnet_process_id_t lnet_id;
-#ifndef CRAY_XT3
/* print an address of _any_ initialized kernel symbol from this
* module, to allow debugging with gdb that doesn't support data
* symbols from modules.*/
- CDEBUG(D_CONSOLE, "Lustre client module (%p).\n",
+ CDEBUG(D_INFO, "Lustre client module (%p).\n",
&lustre_super_operations);
-#endif
rc = ll_init_inodecache();
if (rc)