staging: lustre: llite: NFS reexport issue
authorDmitry Eremin <dmitry.eremin@intel.com>
Wed, 27 Apr 2016 22:20:54 +0000 (18:20 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 04:51:58 +0000 (21:51 -0700)
Suppress erroneous/confusing messages when NFS
is out of sync and requests old data.

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4050
Reviewed-on: http://review.whamcloud.com/7850
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/llite_nfs.c

index 193aab8797092183198f418087018d62b2240b5e..2c268159ddf6a53af72172ba6ef5ad9d9967fc74 100644 (file)
@@ -119,7 +119,7 @@ struct inode *search_inode_for_lustre(struct super_block *sb,
        rc = md_getattr(sbi->ll_md_exp, op_data, &req);
        kfree(op_data);
        if (rc) {
-               CERROR("can't get object attrs, fid "DFID", rc %d\n",
+               CDEBUG(D_INFO, "can't get object attrs, fid "DFID", rc %d\n",
                       PFID(fid), rc);
                return ERR_PTR(rc);
        }