locks: protect most of the file_lock handling with i_lock
[linux-2.6-block.git] / fs / cifs / cifsfs.c
index 540c1ccfcdb28a310614f24b873f81f4c4e652d3..a445e71746fabdcaf308d6a2fbe9365e40cba849 100644 (file)
@@ -765,7 +765,7 @@ static loff_t cifs_llseek(struct file *file, loff_t offset, int whence)
 
 static int cifs_setlease(struct file *file, long arg, struct file_lock **lease)
 {
-       /* note that this is called by vfs setlease with lock_flocks held
+       /* note that this is called by vfs setlease with i_lock held
           to protect *lease from going away */
        struct inode *inode = file_inode(file);
        struct cifsFileInfo *cfile = file->private_data;