Displaying 5 results from an estimated 5 matches for "file_remove_suid".
2009 Jul 06
2
[Patch] btrfs: use file_remove_suid() after i_mutex is held
file_remove_suid() should be called with i_mutex held,
file_update_time() too. So move them after mutex_lock().
Plus, check the return value of kmalloc().
Signed-off-by: WANG Cong <amwang@redhat.com>
---
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index 7c3cd24..cd36301 100644
--- a/fs/btrfs/file.c
+++...
2009 Jul 06
1
[Patch v3] btrfs: use file_remove_suid() after i_mutex is held
V2 -> V3:
set ''err'' to -ENOMEM when kmalloc() fails. Thanks to Tao.
V1 -> V2:
Move kmalloc() before mutex_lock(), suggested by Arjan.
file_remove_suid() should be called with i_mutex held,
file_update_time() too. So move them after mutex_lock().
Plus, check the return value of kmalloc().
Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Arjan <arjan@infradead.org>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Yan Zheng <zheng...
2009 Jul 06
2
[Patch v2] btrfs: use file_remove_suid() after i_mutex is held
V1 -> V2:
Move kmalloc() before mutex_lock(), suggested by Arjan.
file_remove_suid() should be called with i_mutex held,
file_update_time() too. So move them after mutex_lock().
Plus, check the return value of kmalloc().
Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Arjan <arjan@infradead.org>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Yan Zheng <zheng...
2011 Jul 14
0
btrfs panic
...write+0x45/0x49a [btrfs]
[ 1998.478275] [<ffffffffa024c066>] __btrfs_getxattr+0x86/0x11c [btrfs]
[ 1998.478275] [<ffffffffa024c466>] btrfs_getxattr+0x77/0x82 [btrfs]
[ 1998.478275] [<ffffffff811f3044>] cap_inode_need_killpriv+0x2d/0x37
[ 1998.478275] [<ffffffff810d8309>] file_remove_suid+0x27/0x64
[ 1998.478275] [<ffffffffa0240e14>] btrfs_file_aio_write+0x159/0x49a [btrfs]
[ 1998.478275] [<ffffffff8107bfd2>] ? trace_hardirqs_off+0xd/0xf
[ 1998.478275] [<ffffffff81071f42>] ? local_clock+0x36/0x4d
[ 1998.478275] [<ffffffff810800ab>] ? lock_release_non_nest...
2012 Jul 27
1
kernel BUG at fs/buffer.c:2886! Linux 3.5.0
Hello
Get this on first write made ( by deliver sending mail to inform of the
restart of services )
Home partition (the one receiving the mail) is based on ocfs2 created
from drbd block device in primary/primary mode
These drbd devices are based on lvm.
system is running linux-3.5.0, identical symptom with linux 3.3 and 3.2
but working with linux 3.0 kernel
reproduced on two machines ( so