linux/fs/hpfs
Mikulas Patocka bbd465df73 hpfs: fix warnings when the filesystem fills up
This patch fixes warnings due to missing lock on write error path.

  WARNING: at fs/hpfs/hpfs_fn.h:353 hpfs_truncate+0x75/0x80 [hpfs]()
  Hardware name: empty
  Pid: 26563, comm: dd Tainted: P           O 3.9.4 #12
  Call Trace:
    hpfs_truncate+0x75/0x80 [hpfs]
    hpfs_write_begin+0x84/0x90 [hpfs]
    _hpfs_bmap+0x10/0x10 [hpfs]
    generic_file_buffered_write+0x121/0x2c0
    __generic_file_aio_write+0x1c7/0x3f0
    generic_file_aio_write+0x7c/0x100
    do_sync_write+0x98/0xd0
    hpfs_file_write+0xd/0x50 [hpfs]
    vfs_write+0xa2/0x160
    sys_write+0x51/0xa0
    page_fault+0x22/0x30
    system_call_fastpath+0x1a/0x1f

Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Cc: stable@kernel.org  # 2.6.39+
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-06-08 17:39:40 -07:00
..
alloc.c hpfs: bitmaps are little-endian 2012-05-29 23:28:37 -04:00
anode.c hpfs: convert to use leXX_add_cpu() 2012-10-06 03:05:08 +09:00
buffer.c HPFS: remove PRINTK() macro 2012-05-31 17:49:27 -07:00
dentry.c
dir.c hpfs: deadlock and race in directory lseek() 2013-05-31 15:17:43 -04:00
dnode.c hpfs: convert to use leXX_add_cpu() 2012-10-06 03:05:08 +09:00
ea.c hpfs: get rid of bitfields in struct fnode 2012-05-29 23:28:37 -04:00
file.c hpfs: fix warnings when the filesystem fills up 2013-06-08 17:39:40 -07:00
hpfs_fn.h hpfs: drop vmtruncate 2012-12-20 18:40:00 -05:00
hpfs.h hpfs: assorted endianness annotations 2012-05-29 23:28:39 -04:00
inode.c Merge branch 'master' into for-next 2013-01-29 10:48:30 +01:00
Kconfig
Makefile
map.c hpfs: assorted endianness annotations 2012-05-29 23:28:39 -04:00
name.c HPFS: Remove CR/LF conversion option 2011-05-09 09:04:23 -07:00
namei.c userns: Convert hpfs to use kuid and kgid where appropriate 2012-09-21 03:13:32 -07:00
super.c fs: Limit sys_mount to only request filesystem modules. (Part 3) 2013-03-11 07:09:48 -07:00