lustre/llite: Do not send parent dir fid in getattr by fid
authorOleg Drokin <green@linuxhacker.ru>
Sat, 1 Mar 2014 02:16:32 +0000 (21:16 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Mar 2014 03:04:50 +0000 (19:04 -0800)
commit588de43a9b3ce72cb04b4b75e7b265b1d7c427a8
tree09649ede10cd0a7cb8a612b36651f3c7420dc88e
parentbf08ee0d3fc93f590bd33930c8cbaddf39320dea
lustre/llite: Do not send parent dir fid in getattr by fid

Sending getattr by fid in this case is pointless, as the parent
might havelong changed and we have no control over it, but it's
irrelevant anyway, since we already have the child fid.

Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/7910
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3240
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/dir.c
drivers/staging/lustre/lustre/llite/file.c