locks: plumb a "priv" pointer into the setlease routines
[linux-2.6-block.git] / fs / libfs.c
index 29012a303ef83b1e55e9aaa54bfc315cfc3c35bc..171d2846f2a319088f6e43fff1dc0030d3ce6550 100644 (file)
@@ -1081,12 +1081,14 @@ EXPORT_SYMBOL(alloc_anon_inode);
  * @filp: file pointer
  * @arg: type of lease to obtain
  * @flp: new lease supplied for insertion
+ * @priv: private data for lm_setup operation
  *
  * Generic helper for filesystems that do not wish to allow leases to be set.
  * All arguments are ignored and it just returns -EINVAL.
  */
 int
-simple_nosetlease(struct file *filp, long arg, struct file_lock **flp)
+simple_nosetlease(struct file *filp, long arg, struct file_lock **flp,
+                 void **priv)
 {
        return -EINVAL;
 }