summaryrefslogtreecommitdiff
path: root/net/sunrpc
diff options
context:
space:
mode:
authorPeter Wainwright <peter.wainwright@hpa-rp.org.uk>2005-10-26 01:59:02 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-26 10:39:43 -0700
commit94c1d3184523efa7109472eb393cee6e954c5d75 (patch)
tree566e8e77ea71af755dd19133ca6e895fb92b3f15 /net/sunrpc
parent35848e048f55368f132e28e7f3278ce2d2347f6c (diff)
downloadlinux-3.10-94c1d3184523efa7109472eb393cee6e954c5d75.tar.gz
linux-3.10-94c1d3184523efa7109472eb393cee6e954c5d75.tar.bz2
linux-3.10-94c1d3184523efa7109472eb393cee6e954c5d75.zip
[PATCH] Fix HFS+ to free up the space when a file is deleted.
fsck_hfs reveals lots of temporary files accumulating in the hidden directory "\000\000\000HFS+ Private Data". According to the HFS+ documentation these are files which are unlinked while in use. However, there may be a bug in the Linux hfsplus implementation which causes this to happen even when the files are not in use. It looks like the "opencnt" field is never initialized as (I think) it should be in hfsplus_read_inode. This means that a file can appear to be still in use when in fact it has been closed. This patch seems to fix it for me. Signed-off-by: Anton Altaparmakov <aia21@cantab.net> Cc: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions