1
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1147,8 +1147,8 @@ static struct dentry *__lookup_hash(struct qstr *name, struct dentry *base,
  *  small and for now I'd prefer to have fast path as straight as possible.
  *  It _is_ time-critical.
  */
-static int do_lookup(struct nameidata *nd, struct qstr *name,
-           struct path *path, struct inode **inode)
+static int lookup_fast(struct nameidata *nd, struct qstr *name,
+              struct path *path, struct inode **inode)
 {
    struct vfsmount *mnt = nd->path.mnt;
    struct dentry *dentry, *parent = nd->path.dentry;
@@ -1217,7 +1217,6 @@ unlazy:
        }
    }

This is a code piece. What does this line mean? Could anyone explain it to me? Thank you!

ThiefMaster
  • 310,957
  • 84
  • 592
  • 636
Anders Lind
  • 4,542
  • 8
  • 46
  • 59
  • 1
    possible duplicate of [meta line in svn diff or git diff](http://stackoverflow.com/questions/8558597/meta-line-in-svn-diff-or-git-diff) – manojlds Mar 08 '12 at 04:12

1 Answers1

3

It's simply a block marker. If you want to find out more about the format, searching for "unified diff" might help.

Everything in the line after the second @@ is ignored so it's often used to display the function header related to the code block.

ThiefMaster
  • 310,957
  • 84
  • 592
  • 636
  • 1
    Between the two `@@` is an indication of the line number of the first line, and the size of the hunk in lines, for both the left and right sides of the diff – Lily Ballard Mar 08 '12 at 01:48