Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-812 compat: clean up mutex lock to use kernel mutex primitive
[fs/lustre-release.git]
/
lustre
/
llite
/
symlink.c
diff --git
a/lustre/llite/symlink.c
b/lustre/llite/symlink.c
index
a999ea1
..
1e9954c
100644
(file)
--- a/
lustre/llite/symlink.c
+++ b/
lustre/llite/symlink.c
@@
-122,7
+122,7
@@
static int ll_readlink(struct dentry *dentry, char *buffer, int buflen)
ENTRY;
CDEBUG(D_VFSTRACE, "VFS Op\n");
- /* on symlinks lli_open_sem protects lli_symlink_name allocation/data */
+
ll_inode_size_lock(inode, 0);
rc = ll_readlink_internal(inode, &request, &symname);
if (rc)