NTFS: remove an unused function
PATCH 1/1 NTFS: remove an unused function
-----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(-)
- --- 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-----
PATCH 1/1 NTFS: remove an unused function
[ 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(-)
fs/ntfs/runlist.c renamed from fs/ntfs/runlist.c.old +0 -24
@@ -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)
Anton Altaparmakov
AppliedQuoted 3 lines · Adrian Bunk
[ 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
Signature · 4 lines
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/