• David Howells's avatar
    afs: Init inode before accessing cache · 5800db81
    David Howells authored
    We no longer parse symlinks when we get the inode to determine if this
    symlink is actually a mountpoint as we detect that by examining the mode
    instead (symlinks are always 0777 and mountpoints 0644).
    
    Access the cache after mapping the status so that we don't have to manually
    set the inode size now.
    
    Note that this may need adjusting if the disconnected operation is
    implemented as the file metadata may have to be obtained from the cache.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    5800db81
inode.c 14.7 KB