Commit 86ac7253 authored by Evgeniy Polyakov's avatar Evgeniy Polyakov Committed by Greg Kroah-Hartman

Staging: Pohmelfs: Disable read lock in pohmelfs_getattr().

Signed-off-by: default avatarEvgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f3b8fa70
...@@ -1171,11 +1171,11 @@ static int pohmelfs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct ...@@ -1171,11 +1171,11 @@ static int pohmelfs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct
struct inode *inode = dentry->d_inode; struct inode *inode = dentry->d_inode;
struct pohmelfs_inode *pi = POHMELFS_I(inode); struct pohmelfs_inode *pi = POHMELFS_I(inode);
int err; int err;
#if 0
err = pohmelfs_data_lock(pi, 0, ~0, POHMELFS_READ_LOCK); err = pohmelfs_data_lock(pi, 0, ~0, POHMELFS_READ_LOCK);
if (err) if (err)
return err; return err;
#endif
dprintk("%s: ino: %llu, mode: %o, uid: %u, gid: %u, size: %llu.\n", dprintk("%s: ino: %llu, mode: %o, uid: %u, gid: %u, size: %llu.\n",
__func__, pi->ino, inode->i_mode, inode->i_uid, __func__, pi->ino, inode->i_mode, inode->i_uid,
inode->i_gid, inode->i_size); inode->i_gid, inode->i_size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment