]> git.baikalelectronics.ru Git - kernel.git/commit
[GFS2] Fix setting of inherit jdata attr
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 18 Jul 2007 10:40:06 +0000 (11:40 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 14 Aug 2007 09:34:11 +0000 (10:34 +0100)
commit19d93814737d66714d8ca1d38569319989f15b60
treed343aefac556709cc543aafa961496175d138892
parentdb0909cc1977e0445c70fc19525b2808322555e1
[GFS2] Fix setting of inherit jdata attr

Due to a mix up between the jdata attribute and inherit jdata attribute
it has not been possible to set the inherit jdata attribute on
directories. This is now fixed and the ioctl will report the inherit
jdata attribute for directories rather than the jdata attribute as it
did previously. This stems from our need to have the one bit in the
ioctl attr flags mean two different things according to whether the
underlying inode is a directory or not.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_file.c