Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308795
b: refs/heads/master
c: 4d61cd6
h: refs/heads/master
i:
  308793: 2820b7b
  308791: 57d8251
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed May 17, 2012
1 parent 0fd966c commit ec46442
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e500ed125f3b153aa3f228657723189e9f4c82e
refs/heads/master: 4d61cd6ec764368689fab3bd19e78d76c1e6b176
8 changes: 8 additions & 0 deletions trunk/fs/cifs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,15 @@ long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg)
cifs_sb = CIFS_SB(inode->i_sb);

switch (command) {
static bool warned = false;
case CIFS_IOC_CHECKUMOUNT:
if (!warned) {
warned = true;
cERROR(1, "the CIFS_IOC_CHECKMOUNT ioctl will "
"be deprecated in 3.7. Please "
"migrate away from the use of "
"umount.cifs");
}
cFYI(1, "User unmount attempted");
if (cifs_sb->mnt_uid == current_uid())
rc = 0;
Expand Down

0 comments on commit ec46442

Please sign in to comment.