android_kernel_xiaomi_sm7250/fs/hfsplus
Vyacheslav Dubeyko 95e0d7dbb9 hfsplus: implement attributes file creation functionality
Implement functionality of creation AttributesFile metadata file on HFS+
volume in the case of absence of it.

It makes trying to open AttributesFile's B-tree during mount of HFS+
volume.  If HFS+ volume hasn't AttributesFile then a pointer on
AttributesFile's B-tree keeps as NULL.  Thereby, when it is discovered
absence of AttributesFile on HFS+ volume in the begin of xattr creation
operation then AttributesFile will be created.

The creation of AttributesFile will have success in the case of
availability (2 * clump) free blocks on HFS+ volume.  Otherwise,
creation operation is ended with error (-ENOSPC).

Signed-off-by: Vyacheslav Dubeyko <slava@dubeyko.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@infradead.org>
Acked-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-11-13 12:09:32 +09:00
..
acl.h
attributes.c
bfind.c
bitmap.c
bnode.c
brec.c
btree.c hfsplus: add metadata file's clump size calculation functionality 2013-11-13 12:09:32 +09:00
catalog.c
dir.c hfsplus: integrate POSIX ACLs support into driver 2013-09-11 15:59:01 -07:00
extents.c
hfsplus_fs.h hfsplus: implement attributes file creation functionality 2013-11-13 12:09:32 +09:00
hfsplus_raw.h hfsplus: implement attributes file's header node initialization code 2013-11-13 12:09:32 +09:00
inode.c truncate: drop 'oldsize' truncate_pagecache() parameter 2013-09-12 15:38:02 -07:00
ioctl.c
Kconfig
Makefile hfsplus: integrate POSIX ACLs support into driver 2013-09-11 15:59:01 -07:00
options.c
part_tbl.c
posix_acl.c
super.c hfsplus: implement attributes file creation functionality 2013-11-13 12:09:32 +09:00
tables.c
unicode.c
wrapper.c
xattr_security.c hfsplus: integrate POSIX ACLs support into driver 2013-09-11 15:59:01 -07:00
xattr_trusted.c
xattr_user.c
xattr.c hfsplus: implement attributes file creation functionality 2013-11-13 12:09:32 +09:00
xattr.h hfsplus: integrate POSIX ACLs support into driver 2013-09-11 15:59:01 -07:00