X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Fcifs%2Fexport.c;h=75949d6a5f1b33484635f6019d08a6f66402cefd;hb=cd100725620a8063fbc81bcf16d7c9e71a9583e0;hp=1570cc6dedd77cf89956fe37b95a2ca1f408209f;hpb=50c2f75388727018c3c357454a247072915a9e3f;p=linux-2.6-omap-h63xx.git diff --git a/fs/cifs/export.c b/fs/cifs/export.c index 1570cc6dedd..75949d6a5f1 100644 --- a/fs/cifs/export.c +++ b/fs/cifs/export.c @@ -40,12 +40,12 @@ */ #include +#include #include "cifsglob.h" #include "cifs_debug.h" - +#include "cifsfs.h" #ifdef CONFIG_CIFS_EXPERIMENTAL - static struct dentry *cifs_get_parent(struct dentry *dentry) { /* BB need to add code here eventually to enable export via NFSD */ @@ -53,7 +53,7 @@ static struct dentry *cifs_get_parent(struct dentry *dentry) return ERR_PTR(-EACCES); } -struct export_operations cifs_export_ops = { +const struct export_operations cifs_export_ops = { .get_parent = cifs_get_parent, /* Following five export operations are unneeded so far and can default: .get_dentry =