]> asedeno.scripts.mit.edu Git - linux.git/commit
afs: Commit the status on a new file/dir/symlink
authorDavid Howells <dhowells@redhat.com>
Fri, 19 Oct 2018 23:57:57 +0000 (00:57 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 23 Oct 2018 23:41:08 +0000 (00:41 +0100)
commit0067191201de0d1870ff692368900da5207daf2c
tree9c0c7f292b0b65eb2ffd8f99ec54045ede50d0dd
parent3b6492df4153b8550d347dfc581856138678a231
afs: Commit the status on a new file/dir/symlink

Call the function to commit the status on a new file, dir or symlink so
that the access rights for the caller's key are cached for that object.

Without this, the next access to the file will cause a FetchStatus
operation to be emitted to retrieve the access rights.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/dir.c