commit | df345c674b6366952a21a67604c8f6d489bb7ea7 | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Thu Jan 05 13:39:49 2012 +0530 |
committer | Eric Van Hensbergen <ericvh@gmail.com> | Thu Jan 05 10:51:44 2012 -0600 |
tree | 8e78d60bbdd04c3ab465be28698edb899fa48097 | |
parent | 5d3851530d6d68564e4e0ce04d0547d4d106fc72 [diff] |
fs/9p: v9fs_stat2inode should update suid/sgid bits. Create a new helper that update the permission bits and use that, instead of opencoding the logic. Reported and bisected by: M. Mohan Kumar <mohan@in.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>