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:
f3b8fa7
)
Staging: Pohmelfs: Disable read lock in pohmelfs_getattr().
author
Evgeniy Polyakov
<zbr@ioremap.net>
Fri, 27 Mar 2009 12:04:20 +0000
(15:04 +0300)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 17 Apr 2009 18:06:28 +0000
(11:06 -0700)
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/pohmelfs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/pohmelfs/inode.c
b/drivers/staging/pohmelfs/inode.c
index 5bf16504cd6f8821d5e68e0333543eef5908e256..a19e532039e2f6c2556eb696c0693d23ed1c3654 100644
(file)
--- a/
drivers/staging/pohmelfs/inode.c
+++ b/
drivers/staging/pohmelfs/inode.c
@@
-1171,11
+1171,11
@@
static int pohmelfs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct
struct inode *inode = dentry->d_inode;
struct pohmelfs_inode *pi = POHMELFS_I(inode);
int err;
-
+#if 0
err = pohmelfs_data_lock(pi, 0, ~0, POHMELFS_READ_LOCK);
if (err)
return err;
-
+#endif
dprintk("%s: ino: %llu, mode: %o, uid: %u, gid: %u, size: %llu.\n",
__func__, pi->ino, inode->i_mode, inode->i_uid,
inode->i_gid, inode->i_size);