Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • fs
  • cifs
  • inode.c
Find file BlameHistoryPermalink
  • Sachin Prabhu's avatar
    cifs: Check server capability before attempting silly rename · c483a984
    Sachin Prabhu authored Mar 05, 2013
    
    
    cifs_rename_pending_delete() attempts to silly rename file using
    CIFSSMBRenameOpenFile(). This uses the SET_FILE_INFORMATION TRANS2
    command with information level set to the passthru info-level
    SMB_SET_FILE_RENAME_INFORMATION.
    
    We need to check to make sure that the server support passthru
    info-levels before attempting the silly rename or else we will fail to
    rename the file.
    
    Signed-off-by: default avatarSachin Prabhu <sprabhu@redhat.com>
    Reviewed-by: default avatarJeff Layton <jlayton@redhat.com>
    Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
    c483a984