Commit 1751fc1
NFSv4: nfs_atomic_open() can race when looking up a non-regular file
If the file type changes back to being a regular file on the server
between the failed OPEN and our LOOKUP, then we need to re-run the OPEN.
Fixes: 0dd2b47 ("nfs: implement i_op->atomic_open()")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>1 parent ac79516 commit 1751fc1
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1999 | 1999 | | |
2000 | 2000 | | |
2001 | 2001 | | |
| 2002 | + | |
| 2003 | + | |
2002 | 2004 | | |
2003 | 2005 | | |
2004 | 2006 | | |
2005 | 2007 | | |
2006 | 2008 | | |
2007 | 2009 | | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
2008 | 2013 | | |
2009 | 2014 | | |
2010 | 2015 | | |
| |||
0 commit comments