Commit 189b3598 authored by Pavel Shilovsky's avatar Pavel Shilovsky

Change share flags shift to 28 for 2.6.16

parent c7825064
...@@ -111,7 +111,7 @@ static inline int cifs_get_disposition(unsigned int flags) ...@@ -111,7 +111,7 @@ static inline int cifs_get_disposition(unsigned int flags)
static inline int cifs_get_share_flags(unsigned int flags) static inline int cifs_get_share_flags(unsigned int flags)
{ {
return ((~(flags>>21))&7); return ((~(flags>>28))&7);
} }
/* all arguments to this function must be checked for validity in caller */ /* all arguments to this function must be checked for validity in caller */
......
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