projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d7b089
)
NFSv4: Don't attempt an atomic open if the file is a mountpoint
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 22 Apr 2010 19:35:55 +0000
(15:35 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 22 Apr 2010 19:35:55 +0000
(15:35 -0400)
Fix https://bugzilla.kernel.org/show_bug.cgi?id=15789
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/dir.c
b/fs/nfs/dir.c
index be46f26c9a5616cc2181fa98b9d9b7157a2cd7ce..fbb4cf79a20ecc904157dee393f487d4fd2fc0ba 100644
(file)
--- a/
fs/nfs/dir.c
+++ b/
fs/nfs/dir.c
@@
-1050,7
+1050,7
@@
static int nfs_open_revalidate(struct dentry *dentry, struct nameidata *nd)
struct inode *dir;
int openflags, ret = 0;
- if (!is_atomic_open(nd))
+ if (!is_atomic_open(nd)
|| d_mountpoint(dentry)
)
goto no_open;
parent = dget_parent(dentry);
dir = parent->d_inode;