Changes by: antona
Update of /cvsroot/linux-ntfs/ntfs-driver-tng/linux/fs/ntfs
In directory usw-pr-cvs1:/tmp/cvs-serv24359/linux/fs/ntfs
Modified Files:
aops.c inode.c mft.c super.c
Log Message:
Add debug output when entering any of the externally invoked functions, i.e.
things called by the VFS and async io completion handlers.
Index: aops.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfs-driver-tng/linux/fs/ntfs/aops.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -U2 -r1.13 -r1.14
--- aops.c 2001/07/28 16:57:40 1.13
+++ aops.c 2001/07/28 17:35:55 1.14
@@ -88,4 +88,5 @@
attr_search_context ctx;
+ ntfs_debug("Entering.\n");
/* Get hold of the run list of the unnamed data attribute. */
/*
@@ -220,4 +221,5 @@
attr_search_context ctx;
+ ntfs_debug("Entering.\n");
/* The page must be locked. */
if (!PageLocked(page))
Index: inode.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfs-driver-tng/linux/fs/ntfs/inode.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -U2 -r1.12 -r1.13
--- inode.c 2001/07/28 16:57:40 1.12
+++ inode.c 2001/07/28 17:35:55 1.13
@@ -74,4 +74,5 @@
int err;
+ ntfs_debug("Entering.\n");
/*
* Initialize the ntfs specific part of @vfs_ino special casing
@@ -297,4 +298,5 @@
attr_search_context ctx;
+ ntfs_debug("Entering.\n");
/* Initialize the ntfs specific part of @vfs_ino. */
ntfs_init_inode(vfs_ino);
@@ -456,4 +458,5 @@
void ntfs_dirty_inode(struct inode *vfs_ino)
{
+ ntfs_debug("Entering.\n");
NInoSetDirty(NTFS_I(vfs_ino));
return;
@@ -462,4 +465,5 @@
int commit_ntfs_inode(struct inode *vfs_ino)
{
+ ntfs_debug("Entering.\n");
NInoClearDirty(NTFS_I(vfs_ino));
return 0;
@@ -481,4 +485,5 @@
int err;
+ ntfs_debug("Entering.\n");
if (NInoDirty(ntfs_ino)) {
err = commit_ntfs_inode(vfs_ino);
Index: mft.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfs-driver-tng/linux/fs/ntfs/mft.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -U2 -r1.13 -r1.14
--- mft.c 2001/07/28 16:57:40 1.13
+++ mft.c 2001/07/28 17:35:55 1.14
@@ -142,4 +142,5 @@
struct page *page;
+ ntfs_debug("Entering.\n");
mark_buffer_uptodate(bh, uptodate);
/* This is a temporary buffer used for page I/O. */
Index: super.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfs-driver-tng/linux/fs/ntfs/super.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -U2 -r1.15 -r1.16
--- super.c 2001/07/28 16:57:40 1.15
+++ super.c 2001/07/28 17:35:55 1.16
@@ -186,4 +186,5 @@
struct ntfs_sb_info *vol;
+ ntfs_debug("Entering.\n");
vol = NTFS_SB(sb);
@@ -807,4 +808,5 @@
struct ntfs_sb_info *vol = NTFS_SB(vfs_sb);
+ ntfs_debug("Entering.\n");
iput(vol->vol_ino);
vol->vol_ino = NULL;
@@ -891,4 +893,5 @@
kdev_t dev = sb->s_dev;
+ ntfs_debug("Entering.\n");
/*
* TODO: If the super block switches to using the generic_sbp pointer
@@ -1036,6 +1039,8 @@
/* Setup the root directory for the mounted file system. */
- if ((sb->s_root = d_alloc_root(vol->root_ino)))
+ if ((sb->s_root = d_alloc_root(vol->root_ino))) {
+ ntfs_debug("Exiting, status successful.\n");
return sb;
+ }
ntfs_error(sb, __FUNCTION__ "(): Failed to allocate root directory.");
/* Clean up after the successful load_system_files() call from above. */
@@ -1071,4 +1076,5 @@
set_blocksize(dev, old_blocksize);
err_out_now:
+ ntfs_debug("Exiting, status failed.\n");
return NULL;
}
@@ -1085,4 +1091,5 @@
static void __exit exit_ntfs_fs(void)
{
+ ntfs_debug("unregistering NTFS driver.\n");
unregister_filesystem(&ntfs_fs_type);
}
|