aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/docproc.c
diff options
context:
space:
mode:
authorVyacheslav Dubeyko <[email protected]>2013-11-12 23:11:09 +0000
committerLinus Torvalds <[email protected]>2013-11-13 03:09:32 +0000
commit95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd (patch)
tree09f42df8169a4fbf3e2f60cb1b36c1e83c8d9019 /scripts/docproc.c
parenthfsplus: implement attributes file's header node initialization code (diff)
downloadkernel-95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd.tar.gz
kernel-95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd.zip
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 <[email protected]> Cc: Al Viro <[email protected]> Cc: Christoph Hellwig <[email protected]> Acked-by: Hin-Tak Leung <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/docproc.c')
0 files changed, 0 insertions, 0 deletions