diff options
Diffstat (limited to 'fs/cifs/export.c')
| -rw-r--r-- | fs/cifs/export.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/fs/cifs/export.c b/fs/cifs/export.c index 1d716392c3aa..5a08effda0ae 100644 --- a/fs/cifs/export.c +++ b/fs/cifs/export.c | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | * Author(s): Steve French (sfrench@us.ibm.com) | 5 | * Author(s): Steve French (sfrench@us.ibm.com) |
| 6 | * | 6 | * |
| 7 | * Common Internet FileSystem (CIFS) client | 7 | * Common Internet FileSystem (CIFS) client |
| 8 | * | 8 | * |
| 9 | * Operations related to support for exporting files via NFSD | 9 | * Operations related to support for exporting files via NFSD |
| 10 | * | 10 | * |
| 11 | * This library is free software; you can redistribute it and/or modify | 11 | * This library is free software; you can redistribute it and/or modify |
| @@ -23,7 +23,7 @@ | |||
| 23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 24 | */ | 24 | */ |
| 25 | 25 | ||
| 26 | /* | 26 | /* |
| 27 | * See Documentation/filesystems/Exporting | 27 | * See Documentation/filesystems/Exporting |
| 28 | * and examples in fs/exportfs | 28 | * and examples in fs/exportfs |
| 29 | */ | 29 | */ |
| @@ -34,19 +34,19 @@ | |||
| 34 | 34 | ||
| 35 | static struct dentry *cifs_get_parent(struct dentry *dentry) | 35 | static struct dentry *cifs_get_parent(struct dentry *dentry) |
| 36 | { | 36 | { |
| 37 | /* BB need to add code here eventually to enable export via NFSD */ | 37 | /* BB need to add code here eventually to enable export via NFSD */ |
| 38 | return ERR_PTR(-EACCES); | 38 | return ERR_PTR(-EACCES); |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | struct export_operations cifs_export_ops = { | 41 | struct export_operations cifs_export_ops = { |
| 42 | .get_parent = cifs_get_parent, | 42 | .get_parent = cifs_get_parent, |
| 43 | /* Following five export operations are unneeded so far and can default */ | 43 | /* Following five export operations are unneeded so far and can default: |
| 44 | /* .get_dentry = | 44 | .get_dentry = |
| 45 | .get_name = | 45 | .get_name = |
| 46 | .find_exported_dentry = | 46 | .find_exported_dentry = |
| 47 | .decode_fh = | 47 | .decode_fh = |
| 48 | .encode_fs = */ | 48 | .encode_fs = */ |
| 49 | }; | 49 | }; |
| 50 | 50 | ||
| 51 | #endif /* EXPERIMENTAL */ | 51 | #endif /* EXPERIMENTAL */ |
| 52 | 52 | ||
