diff options
author | Nathan Scott <nathans@bruce> | 2006-01-11 21:34:47 -0500 |
---|---|---|
committer | Nathan Scott <nathans@bruce> | 2006-01-11 21:34:47 -0500 |
commit | ddae9c2ea79449beb00027cf77fca6dc489f2d15 (patch) | |
tree | 047c2d7c8d6cbb0721f017514e1d83a20e278d43 /fs | |
parent | 0d1335b3106687d87fcfa0e4d90f2a961bd7e1db (diff) | |
parent | a4fc7ab1d065a9dd89ed0e74439ef87d4a16e980 (diff) |
Merge HEAD from oss.sgi.com:/oss/git/linux-2.6.git
Diffstat (limited to 'fs')
-rw-r--r-- | fs/afs/cmservice.c | 2 | ||||
-rw-r--r-- | fs/attr.c | 1 | ||||
-rw-r--r-- | fs/binfmt_elf.c | 8 | ||||
-rw-r--r-- | fs/ext2/dir.c | 2 | ||||
-rw-r--r-- | fs/proc/vmcore.c | 1 | ||||
-rw-r--r-- | fs/xfs/xfs_iomap.c | 1 |
6 files changed, 6 insertions, 9 deletions
diff --git a/fs/afs/cmservice.c b/fs/afs/cmservice.c index 0a57fd7c726f..9eef6bf156ab 100644 --- a/fs/afs/cmservice.c +++ b/fs/afs/cmservice.c | |||
@@ -118,7 +118,7 @@ static int kafscmd(void *arg) | |||
118 | _SRXAFSCM_xxxx_t func; | 118 | _SRXAFSCM_xxxx_t func; |
119 | int die; | 119 | int die; |
120 | 120 | ||
121 | printk("kAFS: Started kafscmd %d\n", current->pid); | 121 | printk(KERN_INFO "kAFS: Started kafscmd %d\n", current->pid); |
122 | 122 | ||
123 | daemonize("kafscmd"); | 123 | daemonize("kafscmd"); |
124 | 124 | ||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/fcntl.h> | 14 | #include <linux/fcntl.h> |
15 | #include <linux/quotaops.h> | 15 | #include <linux/quotaops.h> |
16 | #include <linux/security.h> | 16 | #include <linux/security.h> |
17 | #include <linux/time.h> | ||
18 | 17 | ||
19 | /* Taken over from the old code... */ | 18 | /* Taken over from the old code... */ |
20 | 19 | ||
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index a4f6f57d91aa..f979ebbce49c 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c | |||
@@ -1634,17 +1634,17 @@ static int elf_core_dump(long signr, struct pt_regs * regs, struct file * file) | |||
1634 | ELF_CORE_WRITE_EXTRA_DATA; | 1634 | ELF_CORE_WRITE_EXTRA_DATA; |
1635 | #endif | 1635 | #endif |
1636 | 1636 | ||
1637 | if ((off_t) file->f_pos != offset) { | 1637 | if ((off_t)file->f_pos != offset) { |
1638 | /* Sanity check */ | 1638 | /* Sanity check */ |
1639 | printk("elf_core_dump: file->f_pos (%ld) != offset (%ld)\n", | 1639 | printk(KERN_WARNING "elf_core_dump: file->f_pos (%ld) != offset (%ld)\n", |
1640 | (off_t) file->f_pos, offset); | 1640 | (off_t)file->f_pos, offset); |
1641 | } | 1641 | } |
1642 | 1642 | ||
1643 | end_coredump: | 1643 | end_coredump: |
1644 | set_fs(fs); | 1644 | set_fs(fs); |
1645 | 1645 | ||
1646 | cleanup: | 1646 | cleanup: |
1647 | while(!list_empty(&thread_list)) { | 1647 | while (!list_empty(&thread_list)) { |
1648 | struct list_head *tmp = thread_list.next; | 1648 | struct list_head *tmp = thread_list.next; |
1649 | list_del(tmp); | 1649 | list_del(tmp); |
1650 | kfree(list_entry(tmp, struct elf_thread_status, list)); | 1650 | kfree(list_entry(tmp, struct elf_thread_status, list)); |
diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c index 5b5f52876b42..7442bdd1267a 100644 --- a/fs/ext2/dir.c +++ b/fs/ext2/dir.c | |||
@@ -592,7 +592,7 @@ int ext2_make_empty(struct inode *inode, struct inode *parent) | |||
592 | goto fail; | 592 | goto fail; |
593 | } | 593 | } |
594 | kaddr = kmap_atomic(page, KM_USER0); | 594 | kaddr = kmap_atomic(page, KM_USER0); |
595 | memset(kaddr, 0, chunk_size); | 595 | memset(kaddr, 0, chunk_size); |
596 | de = (struct ext2_dir_entry_2 *)kaddr; | 596 | de = (struct ext2_dir_entry_2 *)kaddr; |
597 | de->name_len = 1; | 597 | de->name_len = 1; |
598 | de->rec_len = cpu_to_le16(EXT2_DIR_REC_LEN(1)); | 598 | de->rec_len = cpu_to_le16(EXT2_DIR_REC_LEN(1)); |
diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index 5378d7c78419..124e35442ac8 100644 --- a/fs/proc/vmcore.c +++ b/fs/proc/vmcore.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/a.out.h> | 14 | #include <linux/a.out.h> |
15 | #include <linux/elf.h> | 15 | #include <linux/elf.h> |
16 | #include <linux/elfcore.h> | 16 | #include <linux/elfcore.h> |
17 | #include <linux/proc_fs.h> | ||
18 | #include <linux/highmem.h> | 17 | #include <linux/highmem.h> |
19 | #include <linux/bootmem.h> | 18 | #include <linux/bootmem.h> |
20 | #include <linux/init.h> | 19 | #include <linux/init.h> |
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 5c6d873e292c..788917f355c4 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include "xfs_ialloc.h" | 40 | #include "xfs_ialloc.h" |
41 | #include "xfs_btree.h" | 41 | #include "xfs_btree.h" |
42 | #include "xfs_bmap.h" | 42 | #include "xfs_bmap.h" |
43 | #include "xfs_bit.h" | ||
44 | #include "xfs_rtalloc.h" | 43 | #include "xfs_rtalloc.h" |
45 | #include "xfs_error.h" | 44 | #include "xfs_error.h" |
46 | #include "xfs_itable.h" | 45 | #include "xfs_itable.h" |