GFS2: make sure S_NOSEC flag isn't overwritten
authorBenjamin Marzinski <bmarzins@redhat.com>
Tue, 5 May 2015 17:25:48 +0000 (12:25 -0500)
committerBob Peterson <rpeterso@redhat.com>
Tue, 5 May 2015 17:25:48 +0000 (12:25 -0500)
commit01e64ee40ad741037352d1d6202eaa432f833eb4
treeabc5b4b8440ee6e1c700e53677035f51584211cb
parenta63b7bbc2175901d79fa36ba734499655c077f0d
GFS2: make sure S_NOSEC flag isn't overwritten

At the end of gfs2_set_inode_flags inode->i_flags is set to flags, so
we should be modifying flags instead of inode->i_flags, so it isn't
overwritten.

Signed-off-by: Benjamin Marzinski <bmarzins redhat com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/file.c