LCOV - code coverage report
Current view: top level - fs/autofs - symlink.c (source / functions) Hit Total Coverage
Test: combined.info Lines: 0 9 0.0 %
Date: 2022-03-28 13:20:08 Functions: 0 1 0.0 %
Branches: 0 10 0.0 %

           Branch data     Line data    Source code
       1                 :            : // SPDX-License-Identifier: GPL-2.0-or-later
       2                 :            : /*
       3                 :            :  * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
       4                 :            :  */
       5                 :            : 
       6                 :            : #include "autofs_i.h"
       7                 :            : 
       8                 :          0 : static const char *autofs_get_link(struct dentry *dentry,
       9                 :            :                                    struct inode *inode,
      10                 :            :                                    struct delayed_call *done)
      11                 :            : {
      12                 :          0 :         struct autofs_sb_info *sbi;
      13                 :          0 :         struct autofs_info *ino;
      14                 :            : 
      15         [ #  # ]:          0 :         if (!dentry)
      16                 :            :                 return ERR_PTR(-ECHILD);
      17         [ #  # ]:          0 :         sbi = autofs_sbi(dentry->d_sb);
      18         [ #  # ]:          0 :         ino = autofs_dentry_ino(dentry);
      19   [ #  #  #  # ]:          0 :         if (ino && !autofs_oz_mode(sbi))
      20                 :          0 :                 ino->last_used = jiffies;
      21                 :          0 :         return d_inode(dentry)->i_private;
      22                 :            : }
      23                 :            : 
      24                 :            : const struct inode_operations autofs_symlink_inode_operations = {
      25                 :            :         .get_link       = autofs_get_link
      26                 :            : };

Generated by: LCOV version 1.14