diff options
Diffstat (limited to 'fs/nfsd/export.c')
-rw-r--r-- | fs/nfsd/export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c index 587829ed651c..c591761a1ad6 100644 --- a/fs/nfsd/export.c +++ b/fs/nfsd/export.c | |||
@@ -250,7 +250,7 @@ static inline void svc_expkey_update(struct svc_expkey *new, struct svc_expkey * | |||
250 | new->ek_dentry = dget(item->ek_dentry); | 250 | new->ek_dentry = dget(item->ek_dentry); |
251 | } | 251 | } |
252 | 252 | ||
253 | static DefineSimpleCacheLookup(svc_expkey,0) /* no inplace updates */ | 253 | static DefineSimpleCacheLookup(svc_expkey, svc_expkey) |
254 | 254 | ||
255 | #define EXPORT_HASHBITS 8 | 255 | #define EXPORT_HASHBITS 8 |
256 | #define EXPORT_HASHMAX (1<< EXPORT_HASHBITS) | 256 | #define EXPORT_HASHMAX (1<< EXPORT_HASHBITS) |
@@ -482,7 +482,7 @@ static inline void svc_export_update(struct svc_export *new, struct svc_export * | |||
482 | new->ex_fsid = item->ex_fsid; | 482 | new->ex_fsid = item->ex_fsid; |
483 | } | 483 | } |
484 | 484 | ||
485 | static DefineSimpleCacheLookup(svc_export,1) /* allow inplace updates */ | 485 | static DefineSimpleCacheLookup(svc_export, svc_export) |
486 | 486 | ||
487 | 487 | ||
488 | struct svc_expkey * | 488 | struct svc_expkey * |