forked from gluster/glusterfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
posix-pstat/istat() - bail early if iatt structure is NULL
In some cases, we can return early - when iatt structure is NULL. Specifically, this happens when we call those functions in part of MAKE_INODE_HANDLE() macro - which in some cases is not using that structure. This saves us few calls. Specifically, we do not need to fetch mdata xattr, which may save us from some lgetxattr() and such. Updates: gluster#1000 Signed-off-by: Yaniv Kaul <[email protected]>
- Loading branch information
Showing
1 changed file
with
18 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters