X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fhpfs%2Fdentry.c;fp=fs%2Fhpfs%2Fdentry.c;h=08319126b2afa0c090b8c922350d6aaf4ad8d064;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=706c6fef471c2578a87150f119a91e615e2847fc;hpb=e3f6fb6212a7102bdb56ba38fa1e98fe72950475;p=linux-2.6.git diff --git a/fs/hpfs/dentry.c b/fs/hpfs/dentry.c index 706c6fef4..08319126b 100644 --- a/fs/hpfs/dentry.c +++ b/fs/hpfs/dentry.c @@ -12,7 +12,7 @@ * 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; @@ -34,7 +34,7 @@ int hpfs_hash_dentry(struct dentry *dentry, struct qstr *qstr) 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; @@ -49,7 +49,7 @@ int hpfs_compare_dentry(struct dentry *dentry, struct qstr *a, struct qstr *b) return 0; } -struct dentry_operations hpfs_dentry_operations = { +static struct dentry_operations hpfs_dentry_operations = { .d_hash = hpfs_hash_dentry, .d_compare = hpfs_compare_dentry, };