* [2.6 patch] NTFS: remove an unused function
@ 2004-10-28 23:11 Adrian Bunk
2004-10-29 0:24 ` Adrian Bunk
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2004-10-28 23:11 UTC (permalink / raw)
To: aia21; +Cc: linux-ntfs-dev, linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The patch below removes an unused function from fs/ntfs/runlist.c
diffstat output:
fs/ntfs/runlist.c | 24 ------------------------
1 files changed, 24 deletions(-)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
- --- linux-2.6.10-rc1-mm1-full/fs/ntfs/runlist.c.old 2004-10-28 22:46:08.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/fs/ntfs/runlist.c 2004-10-28 22:46:38.000000000 +0200
@@ -140,30 +140,6 @@
}
/**
- - * ntfs_rl_merge - test if two runlists can be joined together and merge them
- - * @dst: original, destination runlist
- - * @src: new runlist to merge with @dst
- - *
- - * Test if two runlists can be joined together. For this, their VCNs and LCNs
- - * must be adjacent. If they can be merged, perform the merge, writing into
- - * the destination runlist @dst.
- - *
- - * It is up to the caller to serialize access to the runlists @dst and @src.
- - *
- - * Return: TRUE Success, the runlists have been merged.
- - * FALSE Failure, the runlists cannot be merged and have not been
- - * modified.
- - */
- -static inline BOOL ntfs_rl_merge(runlist_element *dst, runlist_element *src)
- -{
- - BOOL merge = ntfs_are_rl_mergeable(dst, src);
- -
- - if (merge)
- - __ntfs_rl_merge(dst, src);
- - return merge;
- -}
- -
- -/**
* ntfs_rl_append - append a runlist after a given element
* @dst: original runlist to be worked on
* @dsize: number of elements in @dst (including end marker)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBgXyQmfzqmE8StAARAoczAJ44uT1R+YHBkY4QN3x/a041a+M35ACgg+Gp
3J6gsMxiK1Nv330VE3d+C/8=
=/T69
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread* [2.6 patch] NTFS: remove an unused function
2004-10-28 23:11 [2.6 patch] NTFS: remove an unused function Adrian Bunk
@ 2004-10-29 0:24 ` Adrian Bunk
2004-10-29 9:10 ` Anton Altaparmakov
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2004-10-29 0:24 UTC (permalink / raw)
To: aia21; +Cc: linux-ntfs-dev, linux-kernel
[ this time without the problems due to a digital signature... ]
The patch below removes an unused function from fs/ntfs/runlist.c
diffstat output:
fs/ntfs/runlist.c | 24 ------------------------
1 files changed, 24 deletions(-)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.10-rc1-mm1-full/fs/ntfs/runlist.c.old 2004-10-28 22:46:08.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/fs/ntfs/runlist.c 2004-10-28 22:46:38.000000000 +0200
@@ -140,30 +140,6 @@
}
/**
- * ntfs_rl_merge - test if two runlists can be joined together and merge them
- * @dst: original, destination runlist
- * @src: new runlist to merge with @dst
- *
- * Test if two runlists can be joined together. For this, their VCNs and LCNs
- * must be adjacent. If they can be merged, perform the merge, writing into
- * the destination runlist @dst.
- *
- * It is up to the caller to serialize access to the runlists @dst and @src.
- *
- * Return: TRUE Success, the runlists have been merged.
- * FALSE Failure, the runlists cannot be merged and have not been
- * modified.
- */
-static inline BOOL ntfs_rl_merge(runlist_element *dst, runlist_element *src)
-{
- BOOL merge = ntfs_are_rl_mergeable(dst, src);
-
- if (merge)
- __ntfs_rl_merge(dst, src);
- return merge;
-}
-
-/**
* ntfs_rl_append - append a runlist after a given element
* @dst: original runlist to be worked on
* @dsize: number of elements in @dst (including end marker)
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [2.6 patch] NTFS: remove an unused function
2004-10-29 0:24 ` Adrian Bunk
@ 2004-10-29 9:10 ` Anton Altaparmakov
0 siblings, 0 replies; 3+ messages in thread
From: Anton Altaparmakov @ 2004-10-29 9:10 UTC (permalink / raw)
To: Adrian Bunk; +Cc: ntfs-dev, lkml
On Fri, 2004-10-29 at 01:24, Adrian Bunk wrote:
> [ this time without the problems due to a digital signature... ]
>
> The patch below removes an unused function from fs/ntfs/runlist.c
Applied. Thanks.
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/, http://www-stu.christs.cam.ac.uk/~aia21/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-10-29 9:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-28 23:11 [2.6 patch] NTFS: remove an unused function Adrian Bunk
2004-10-29 0:24 ` Adrian Bunk
2004-10-29 9:10 ` Anton Altaparmakov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox