aboutsummaryrefslogtreecommitdiff
path: root/fs/cifs/cn_cifs.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-11-06 14:18:49 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-08 10:20:51 -0800
commit6804b96f48a32bca16fee60212ad8e4b201bb99f (patch)
tree77a8927491e97a0b65dd94860446eec34143f6f4 /fs/cifs/cn_cifs.h
parentb88b724607b4e9472398c7b3ebc5f8cb3f1d98d6 (diff)
cifs: don't use CIFSGetSrvInodeNumber in is_path_accessible
commit f475f6775465283494346663f201ad04810d2e8a upstream. Because it's lighter weight, CIFS tries to use CIFSGetSrvInodeNumber to verify the accessibility of the root inode and then falls back to doing a full QPathInfo if that fails with -EOPNOTSUPP. I have at least a report of a server that returns NT_STATUS_INTERNAL_ERROR rather than something that translates to EOPNOTSUPP. Rather than trying to be clever with that call, just have is_path_accessible do a normal QPathInfo. That call is widely supported and it shouldn't increase the overhead significantly. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/cifs/cn_cifs.h')
0 files changed, 0 insertions, 0 deletions