hfsplus: initialise userflags
authorMatthew Garrett <mjg@redhat.com>
Tue, 13 Mar 2012 16:10:34 +0000 (12:10 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 21 Mar 2012 01:29:52 +0000 (21:29 -0400)
commitf3922382ce930e76773fb06416a7a6081a8702ad
tree41de4a013a7d0686403da8a37880644cc3390b81
parent7cd916f6ea86e8538b1e8136847dfb941813fe94
hfsplus: initialise userflags

The userflags field was being written to the filesystem without being
initialised. Make sure it's clear, since otherwise files end up with
garbage attributes.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hfsplus/inode.c