统一差异:@@意味着什么?
问题描述:
--- 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:
}
}
这是一个码片。 这是什么意思行?谁能解释一下? 谢谢!统一差异:@@意味着什么?
答
这是一个简单的块标记。如果您想了解更多关于格式的信息,搜索“统一差异”可能会有所帮助。在第二@@
后的线
一切都忽略,所以它通常被用来显示与代码块中的函数头。
+1
两个' @@'是第一行的行号的指示,和大块的线的尺寸,两者的差异 – 2012-03-08 01:48:03
+0
http://*.com/a/8558896/526535的左侧和右侧 – manojlds 2012-03-08 04:13:16
[svn diff或git diff中的元行可能重复](http://*.com/questions/8558597/meta-line-in-svn-diff-or-git-diff) – manojlds 2012-03-08 04:12:48