]> err.no Git - linux-2.6/blobdiff - fs/lockd/svclock.c
nfsd: don't allow setting ctime over v4
[linux-2.6] / fs / lockd / svclock.c
index 4da7c4c270643c5e6eccaa5d5e5cac4144ac1720..4d81553d29485e69dd19e746a1edadf4618c8d91 100644 (file)
@@ -227,8 +227,7 @@ failed:
 }
 
 /*
- * Delete a block. If the lock was cancelled or the grant callback
- * failed, unlock is set to 1.
+ * Delete a block.
  * It is the caller's responsibility to check whether the file
  * can be closed hereafter.
  */
@@ -633,7 +632,7 @@ nlmsvc_update_deferred_block(struct nlm_block *block, struct file_lock *conf,
                block->b_flags |= B_TIMED_OUT;
        if (conf) {
                if (block->b_fl)
-                       locks_copy_lock(block->b_fl, conf);
+                       __locks_copy_lock(block->b_fl, conf);
        }
 }