git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 2.0 rc7
[linux-2.6.git]
/
fs
/
hpfs
/
dentry.c
diff --git
a/fs/hpfs/dentry.c
b/fs/hpfs/dentry.c
index
706c6fe
..
0831912
100644
(file)
--- a/
fs/hpfs/dentry.c
+++ b/
fs/hpfs/dentry.c
@@
-12,7
+12,7
@@
* Note: the dentry argument is the parent dentry.
*/
* Note: the dentry argument is the parent dentry.
*/
-int hpfs_hash_dentry(struct dentry *dentry, struct qstr *qstr)
+
static
int hpfs_hash_dentry(struct dentry *dentry, struct qstr *qstr)
{
unsigned long hash;
int i;
{
unsigned long hash;
int i;
@@
-34,7
+34,7
@@
int hpfs_hash_dentry(struct dentry *dentry, struct qstr *qstr)
return 0;
}
return 0;
}
-int hpfs_compare_dentry(struct dentry *dentry, struct qstr *a, struct qstr *b)
+
static
int hpfs_compare_dentry(struct dentry *dentry, struct qstr *a, struct qstr *b)
{
unsigned al=a->len;
unsigned bl=b->len;
{
unsigned al=a->len;
unsigned bl=b->len;
@@
-49,7
+49,7
@@
int hpfs_compare_dentry(struct dentry *dentry, struct qstr *a, struct qstr *b)
return 0;
}
return 0;
}
-struct dentry_operations hpfs_dentry_operations = {
+st
atic st
ruct dentry_operations hpfs_dentry_operations = {
.d_hash = hpfs_hash_dentry,
.d_compare = hpfs_compare_dentry,
};
.d_hash = hpfs_hash_dentry,
.d_compare = hpfs_compare_dentry,
};