]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
nfsd4: warn on open failure after create
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 13 Oct 2011 15:37:11 +0000 (11:37 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 17 Oct 2011 21:50:08 +0000 (17:50 -0400)
commit856121b2e83bd64bffdc8de449d24c9295e92ff3
treed60a777368fa48120a878407dd7abdcc780d2eba
parent4cdc951b8611de4ce25e35c9fb8c0656150c9245
nfsd4: warn on open failure after create

If we create the object and then return failure to the client, we're
left with an unexpected file in the filesystem.

I'm trying to eliminate such cases but not 100% sure I have so an
assertion might be helpful for now.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h
fs/nfsd/xdr4.h