Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c3bd438 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Linus Torvalds
Browse files

[PATCH] NTFS: rename incorrect check of NTFS_DEBUG with just DEBUG



Replace the incorrect debugging check of "#ifdef NTFS_DEBUG" with
just "#ifdef DEBUG".

Signed-off-by: default avatarRobert P. J. Day <rpjday@mindspring.com>
Acked-by: default avatarAnton Altaparmakov <aia21@cantab.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent fdf892be
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1921,7 +1921,7 @@ s64 ntfs_attr_extend_allocation(ntfs_inode *ni, s64 new_alloc_size,
	u32 attr_len = 0; /* Silence stupid gcc warning. */
	u32 attr_len = 0; /* Silence stupid gcc warning. */
	bool mp_rebuilt;
	bool mp_rebuilt;


#ifdef NTFS_DEBUG
#ifdef DEBUG
	read_lock_irqsave(&ni->size_lock, flags);
	read_lock_irqsave(&ni->size_lock, flags);
	allocated_size = ni->allocated_size;
	allocated_size = ni->allocated_size;
	read_unlock_irqrestore(&ni->size_lock, flags);
	read_unlock_irqrestore(&ni->size_lock, flags);