From 7fcd47640a29cf000fa2d2526ba18974ba2cb9af Mon Sep 17 00:00:00 2001 From: Suresh Jayaraman Date: Wed, 12 Oct 2011 11:51:53 +0530 Subject: [PATCH] --- yaml --- r: 269948 b: refs/heads/master c: 8bc4392a1e50f346e97f8777aaefd9cfc3d45c9f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/cifs/cifs_debug.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index a95751d3548e..4507a40ee29f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c9c4708fdf63d26e3fdfc65bba9e82e654cae285 +refs/heads/master: 8bc4392a1e50f346e97f8777aaefd9cfc3d45c9f diff --git a/trunk/fs/cifs/cifs_debug.c b/trunk/fs/cifs/cifs_debug.c index e1715313f398..84e8c0724704 100644 --- a/trunk/fs/cifs/cifs_debug.c +++ b/trunk/fs/cifs/cifs_debug.c @@ -526,6 +526,9 @@ static ssize_t cifs_oplock_proc_write(struct file *file, char c; int rc; + printk(KERN_WARNING "CIFS: The /proc/fs/cifs/OplockEnabled interface " + "will be removed in kernel version 3.4. Please migrate to " + "using the 'enable_oplocks' module parameter in cifs.ko.\n"); rc = get_user(c, buffer); if (rc) return rc;