diff options
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/Kconfig | 1 | ||||
-rw-r--r-- | fs/nfsd/nfsfh.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/Kconfig b/fs/nfsd/Kconfig index 429d4a142276..7cf4ddafb4ab 100644 --- a/fs/nfsd/Kconfig +++ b/fs/nfsd/Kconfig | |||
@@ -70,6 +70,7 @@ config NFSD_V4 | |||
70 | depends on NFSD && PROC_FS && EXPERIMENTAL | 70 | depends on NFSD && PROC_FS && EXPERIMENTAL |
71 | select NFSD_V3 | 71 | select NFSD_V3 |
72 | select FS_POSIX_ACL | 72 | select FS_POSIX_ACL |
73 | select SUNRPC_GSS | ||
73 | help | 74 | help |
74 | This option enables support in your system's NFS server for | 75 | This option enables support in your system's NFS server for |
75 | version 4 of the NFS protocol (RFC 3530). | 76 | version 4 of the NFS protocol (RFC 3530). |
diff --git a/fs/nfsd/nfsfh.h b/fs/nfsd/nfsfh.h index cdfb8c6a4206..c16f8d8331b5 100644 --- a/fs/nfsd/nfsfh.h +++ b/fs/nfsd/nfsfh.h | |||
@@ -196,8 +196,6 @@ fh_lock(struct svc_fh *fhp) | |||
196 | static inline void | 196 | static inline void |
197 | fh_unlock(struct svc_fh *fhp) | 197 | fh_unlock(struct svc_fh *fhp) |
198 | { | 198 | { |
199 | BUG_ON(!fhp->fh_dentry); | ||
200 | |||
201 | if (fhp->fh_locked) { | 199 | if (fhp->fh_locked) { |
202 | fill_post_wcc(fhp); | 200 | fill_post_wcc(fhp); |
203 | mutex_unlock(&fhp->fh_dentry->d_inode->i_mutex); | 201 | mutex_unlock(&fhp->fh_dentry->d_inode->i_mutex); |