Commit 8698bd8b authored by Pavel Shilovsky's avatar Pavel Shilovsky

Change share flags shift to 28 for CentOS 5.4

parent 9d71bb3c
......@@ -281,7 +281,7 @@ client_can_cache:
static inline int cifs_get_share_flags(unsigned int flags)
{
return ((~(flags>>21))&7);
return ((~(flags>>28))&7);
}
int cifs_open(struct inode *inode, struct file *file)
......
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