diff options
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfsctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index c45a2ea4a090..bb4a11d58a5a 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c | |||
@@ -272,7 +272,7 @@ static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) | |||
272 | * 2. Is that directory a mount point, or | 272 | * 2. Is that directory a mount point, or |
273 | * 3. Is that directory the root of an exported file system? | 273 | * 3. Is that directory the root of an exported file system? |
274 | */ | 274 | */ |
275 | error = nlmsvc_unlock_all_by_sb(path.mnt->mnt_sb); | 275 | error = nlmsvc_unlock_all_by_sb(path.dentry->d_sb); |
276 | 276 | ||
277 | path_put(&path); | 277 | path_put(&path); |
278 | return error; | 278 | return error; |