Commit 55442a2a authored by Steven Whitehouse's avatar Steven Whitehouse Committed by Greg Kroah-Hartman
Browse files

GFS2: Fix permissions checking for setflags ioctl()



commit 7df0e039 upstream.

We should be checking for the ownership of the file for which
flags are being set, rather than just for write access.

Reported-by: default avatarDan Rosenberg <dan.j.rosenberg@gmail.com>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 94f98453
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment