[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: Robert P. J. Day <rpjday@mindspring.com> Acked-by: Anton Altaparmakov <aia21@cantab.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
fdf892be32
commit
5c3bd438cc
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user