]> git.baikalelectronics.ru Git - 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)
commit7aaf9ddba2dad45f1bc1a427cd3221f4b24e9d06
treed60a777368fa48120a878407dd7abdcc780d2eba
parent3ec71a07e77d5b557545d3852c5e27eec36204f4
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