From: Shirish Pargaonkar Date: Tue, 15 May 2012 15:19:16 +0000 (-0500) Subject: cifs: Include backup intent search flags during searches {try #2) X-Git-Tag: v3.2.20~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90f560e0729cc5483324673cb13522b8abcd8ca5;p=pandora-kernel.git cifs: Include backup intent search flags during searches {try #2) commit 2608bee744a92d60d15ff4e6e0b913d8b406aedd upstream. As observed and suggested by Tushar Gosavi... --------- readdir calls these function to send TRANS2_FIND_FIRST and TRANS2_FIND_NEXT command to the server. The current cifs module is not specifying CIFS_SEARCH_BACKUP_SEARCH flag while sending these command when backupuid/backupgid is specified. This can be resolved by specifying CIFS_SEARCH_BACKUP_SEARCH flag. --------- Reported-and-Tested-by: Tushar Gosavi Signed-off-by: Shirish Pargaonkar Acked-by: Jeff Layton Signed-off-by: Steve French Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed