lkml.org 
[lkml]   [2004]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 6/20] Re: [2.6-BK-URL] NTFS 2.1.17 release
This is patch 6/20 in the series.  It contains the following ChangeSet:

<aia21@cantab.net> (04/07/21 1.1809)
NTFS: Wrap the new bitmap.[hc] code in #ifdef NTFS_RW / #endif.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>

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/

===================================================================

diff -Nru a/fs/ntfs/bitmap.c b/fs/ntfs/bitmap.c
--- a/fs/ntfs/bitmap.c 2004-08-18 20:50:03 +01:00
+++ b/fs/ntfs/bitmap.c 2004-08-18 20:50:03 +01:00
@@ -19,6 +19,8 @@
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

+#ifdef NTFS_RW
+
#include <linux/pagemap.h>

#include "bitmap.h"
@@ -181,3 +183,5 @@
}
return PTR_ERR(page);
}
+
+#endif /* NTFS_RW */
diff -Nru a/fs/ntfs/bitmap.h b/fs/ntfs/bitmap.h
--- a/fs/ntfs/bitmap.h 2004-08-18 20:50:03 +01:00
+++ b/fs/ntfs/bitmap.h 2004-08-18 20:50:03 +01:00
@@ -23,6 +23,8 @@
#ifndef _LINUX_NTFS_BITMAP_H
#define _LINUX_NTFS_BITMAP_H

+#ifdef NTFS_RW
+
#include <linux/fs.h>

#include "types.h"
@@ -110,5 +112,7 @@
{
return ntfs_bitmap_clear_run(vi, bit, 1);
}
+
+#endif /* NTFS_RW */

#endif /* defined _LINUX_NTFS_BITMAP_H */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:1.847 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site