nfs: adapt to breakup of struct file_lock
[linux-2.6-block.git] / fs / nfs / nfs3proc.c
index 2de66e4e8280a801b647dfe10c577e69192e236c..cbbe3f0193b8a34e5a64794248c2b0e4edd63fa0 100644 (file)
@@ -963,7 +963,7 @@ nfs3_proc_lock(struct file *filp, int cmd, struct file_lock *fl)
        struct nfs_open_context *ctx = nfs_file_open_context(filp);
        int status;
 
-       if (fl->fl_flags & FL_CLOSE) {
+       if (fl->c.flc_flags & FL_CLOSE) {
                l_ctx = nfs_get_lock_context(ctx);
                if (IS_ERR(l_ctx))
                        l_ctx = NULL;