All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] cifs: warn about deprecation of /proc/fs/cifs/OplockEnabled interface
@ 2011-10-11 15:58 Suresh Jayaraman
       [not found] ` <4E946792.1060405-l3A5Bk7waGM@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Suresh Jayaraman @ 2011-10-11 15:58 UTC (permalink / raw)
  To: Steve French; +Cc: linux-cifs, Jeff Layton, Alexander Swen

The plan is to deprecate this interface by kernel version 3.4.

Reported-by: Alexander Swen <alex-UE4+9DRHXtc@public.gmane.org>
Cc: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Signed-off-by: Suresh Jayaraman <sjayaraman-l3A5Bk7waGM@public.gmane.org>
---
 fs/cifs/cifs_debug.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c
index 2fe3cf1..b9c06a8 100644
--- a/fs/cifs/cifs_debug.c
+++ b/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.");
 	rc = get_user(c, buffer);
 	if (rc)
 		return rc;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-11 16:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-11 15:58 [PATCH 2/3] cifs: warn about deprecation of /proc/fs/cifs/OplockEnabled interface Suresh Jayaraman
     [not found] ` <4E946792.1060405-l3A5Bk7waGM@public.gmane.org>
2011-10-11 16:41   ` Jeff Layton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.