projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9c4708
)
cifs: warn about deprecation of /proc/fs/cifs/OplockEnabled interface
author
Suresh Jayaraman
<
[email protected]
>
Wed, 12 Oct 2011 06:21:53 +0000
(11:51 +0530)
committer
Steve French
<
[email protected]
>
Thu, 13 Oct 2011 04:42:13 +0000
(23:42 -0500)
The plan is to deprecate this interface by kernel version 3.4.
Changes since v1
- add a '\n' to the printk.
Reported-by: Alexander Swen <
[email protected]
>
Cc: Jeff Layton <
[email protected]
>
Signed-off-by: Suresh Jayaraman <
[email protected]
>
Signed-off-by: Steve French <
[email protected]
>
fs/cifs/cifs_debug.c
patch
|
blob
|
history
diff --git
a/fs/cifs/cifs_debug.c
b/fs/cifs/cifs_debug.c
index e1715313f3981ead34a318031b6454da9d56d3f7..84e8c0724704173669659f899e7cc83c6741b857 100644
(file)
--- 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.\n");
rc = get_user(c, buffer);
if (rc)
return rc;