summaryrefslogtreecommitdiffstats
path: root/fs/ncpfs
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-11-06 14:18:49 -0500
committerSteve French <sfrench@us.ibm.com>2009-11-06 22:06:14 +0000
commitf475f6775465283494346663f201ad04810d2e8a (patch)
treeb5c054afa5509ee6957fb6a93d09999b9db975ab /fs/ncpfs
parentec06aedd44541129840ed52e6165afa3796a27bf (diff)
downloadop-kernel-dev-f475f6775465283494346663f201ad04810d2e8a.zip
op-kernel-dev-f475f6775465283494346663f201ad04810d2e8a.tar.gz
cifs: don't use CIFSGetSrvInodeNumber in is_path_accessible
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. Cc: Stable <stable@kernel.org> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/ncpfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud